Mercurial > mplayer.hg
changeset 8623:440301fef3fe
Added/reordered #includes to silence warnings about "implicit declaration".
author | rathann |
---|---|
date | Sat, 28 Dec 2002 18:51:10 +0000 |
parents | 871e07a43f58 |
children | 4e4ba32cc7f4 |
files | libaf/af_comp.c libaf/af_gate.c libaf/af_tools.c libaf/af_volume.c libao2/ao_esd.c libmenu/Makefile libmenu/menu_cmdlist.c libmenu/menu_list.c libmenu/menu_pt.c libmenu/vf_menu.c libmpdemux/demux_xmms.c |
diffstat | 11 files changed, 14 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_comp.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libaf/af_comp.c Sat Dec 28 18:51:10 2002 +0000 @@ -10,6 +10,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <inttypes.h>
--- a/libaf/af_gate.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libaf/af_gate.c Sat Dec 28 18:51:10 2002 +0000 @@ -10,6 +10,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <inttypes.h>
--- a/libaf/af_tools.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libaf/af_tools.c Sat Dec 28 18:51:10 2002 +0000 @@ -1,4 +1,5 @@ #include <math.h> +#include <string.h> #include <af.h> /* Convert to gain value from dB. Returns AF_OK if of and AF_ERROR if
--- a/libaf/af_volume.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libaf/af_volume.c Sat Dec 28 18:51:10 2002 +0000 @@ -26,6 +26,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <inttypes.h>
--- a/libao2/ao_esd.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libao2/ao_esd.c Sat Dec 28 18:51:10 2002 +0000 @@ -26,6 +26,7 @@ #include <unistd.h> #include <errno.h> #include <fcntl.h> +#include <time.h> #ifdef __svr4__ #include <stropts.h> #endif
--- a/libmenu/Makefile Sat Dec 28 18:35:44 2002 +0000 +++ b/libmenu/Makefile Sat Dec 28 18:51:10 2002 +0000 @@ -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
--- a/libmenu/menu_cmdlist.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libmenu/menu_cmdlist.c Sat Dec 28 18:51:10 2002 +0000 @@ -4,6 +4,7 @@ #include <stdlib.h> #include <stdio.h> #include <ctype.h> +#include <string.h> #include "img_format.h" #include "mp_image.h"
--- a/libmenu/menu_list.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libmenu/menu_list.c Sat Dec 28 18:51:10 2002 +0000 @@ -2,6 +2,7 @@ #include <stdlib.h> #include <stdio.h> #include <ctype.h> +#include <string.h> #include "../config.h"
--- a/libmenu/menu_pt.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libmenu/menu_pt.c Sat Dec 28 18:51:10 2002 +0000 @@ -1,6 +1,7 @@ #include <stdlib.h> #include <stdio.h> +#include <string.h> #include <libgen.h> #include "../config.h"
--- a/libmenu/vf_menu.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libmenu/vf_menu.c Sat Dec 28 18:51:10 2002 +0000 @@ -5,6 +5,9 @@ #include <stdlib.h> #include <string.h> +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif #include "../mp_msg.h"
--- a/libmpdemux/demux_xmms.c Sat Dec 28 18:35:44 2002 +0000 +++ b/libmpdemux/demux_xmms.c Sat Dec 28 18:51:10 2002 +0000 @@ -9,6 +9,8 @@ #include <dlfcn.h> #include <dirent.h> #include <inttypes.h> +#include <string.h> +#include <sys/stat.h> #include "../cfgparser.h" #include "../libao2/afmt.h" @@ -16,10 +18,6 @@ #include "demuxer.h" #include "stheader.h" -#include <dirent.h> -#include <string.h> -#include <sys/stat.h> - #define XMMS_PACKETSIZE 65536 // some plugins won't play if this is too small #include "demux_xmms_plugin.h"