summaryrefslogtreecommitdiff
path: root/src/input/libdvdnav/remap.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-08-25 21:51:37 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-08-25 21:51:37 +0000
commitbabb07bcbec3674a3f542cf6ae3f2d6b212a3ed4 (patch)
tree3074007521ca0f6f2b730ac3e85003bdac8d4fdd /src/input/libdvdnav/remap.c
parentca053acfc8a4a11274f1f0978bd0f52b9ac8cc06 (diff)
downloadxine-lib-babb07bcbec3674a3f542cf6ae3f2d6b212a3ed4.tar.gz
xine-lib-babb07bcbec3674a3f542cf6ae3f2d6b212a3ed4.tar.bz2
Reduce GCC verbosity (various prototype declaration fixes). ffmpeg, wine and fft*post are untouched (fft: for now).
CVS patchset: 5310 CVS date: 2003/08/25 21:51:37
Diffstat (limited to 'src/input/libdvdnav/remap.c')
-rw-r--r--src/input/libdvdnav/remap.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/input/libdvdnav/remap.c b/src/input/libdvdnav/remap.c
index 3019c514a..8fffc6e29 100644
--- a/src/input/libdvdnav/remap.c
+++ b/src/input/libdvdnav/remap.c
@@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: remap.c,v 1.3 2003/04/29 15:58:30 jcdutton Exp $
+ * $Id: remap.c,v 1.4 2003/08/25 21:51:40 f1rmb Exp $
*/
#include <stdlib.h>
@@ -51,7 +51,7 @@ struct remap_s {
struct block_s *blocks;
};
-remap_t* remap_new( char *title) {
+static remap_t* remap_new( char *title) {
remap_t *map = malloc( sizeof(remap_t));
map->title = strdup(title);
map->maxblocks = 0;
@@ -142,10 +142,8 @@ static void remap_add_node( remap_t *map, block_t block) {
}
}
-int parseblock(
- char *buf, int *dom, int *tt, int *pg,
- unsigned long *start, unsigned long *end)
-{
+static int parseblock(char *buf, int *dom, int *tt, int *pg,
+ unsigned long *start, unsigned long *end) {
long tmp;
char *tok;
char *epos;