[Mplayer-cvslog] CVS: main/libmenu Makefile,1.2,1.3 menu_cmdlist.c,1.1,1.2 menu_list.c,1.1,1.2 menu_pt.c,1.1,1.2 vf_menu.c,1.4,1.5

Dominik Mierzejewski CVS rathann at mplayerhq.hu
Sat Dec 28 19:51:12 CET 2002


Update of /cvsroot/mplayer/main/libmenu
In directory mail:/var/tmp.root/cvs-serv17207/libmenu

Modified Files:
	Makefile menu_cmdlist.c menu_list.c menu_pt.c vf_menu.c 
Log Message:
Added/reordered #includes to silence warnings about "implicit declaration".


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile	18 Nov 2002 00:09:37 -0000	1.2
+++ Makefile	28 Dec 2002 18:51:09 -0000	1.3
@@ -28,7 +28,7 @@
 dep:    depend
 
 depend:
-	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+	$(CC) -MM $(CFLAGS) $(FREETYPE_INC) $(SRCS) 1>.depend
 
 #
 # include dependency files if they exist

Index: menu_cmdlist.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/menu_cmdlist.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- menu_cmdlist.c	14 Nov 2002 23:47:11 -0000	1.1
+++ menu_cmdlist.c	28 Dec 2002 18:51:09 -0000	1.2
@@ -4,6 +4,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <ctype.h>
+#include <string.h>
 
 #include "img_format.h"
 #include "mp_image.h"

Index: menu_list.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/menu_list.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- menu_list.c	14 Nov 2002 23:47:11 -0000	1.1
+++ menu_list.c	28 Dec 2002 18:51:09 -0000	1.2
@@ -2,6 +2,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <ctype.h>
+#include <string.h>
 
 #include "../config.h"
 

Index: menu_pt.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/menu_pt.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- menu_pt.c	14 Nov 2002 23:47:11 -0000	1.1
+++ menu_pt.c	28 Dec 2002 18:51:09 -0000	1.2
@@ -1,6 +1,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <libgen.h>
 
 #include "../config.h"

Index: vf_menu.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/vf_menu.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vf_menu.c	22 Nov 2002 12:01:59 -0000	1.4
+++ vf_menu.c	28 Dec 2002 18:51:09 -0000	1.5
@@ -5,6 +5,9 @@
 #include <stdlib.h>
 #include <string.h>
 
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
 
 #include "../mp_msg.h"
 




More information about the MPlayer-cvslog mailing list