changeset 6237:2eec40929570

warning fixes (string.h is required for memset) moved config.h at the top of the include (often avoids 10L when adding a new #include ;)
author pl
date Thu, 30 May 2002 11:53:51 +0000
parents 2b6de6021f5e
children 594d2ffe9f1d
files libao2/ao_pcm.c libao2/ao_plugin.c libao2/pl_delay.c libao2/pl_format.c libao2/pl_surround.c
diffstat 5 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_pcm.c	Thu May 30 11:42:55 2002 +0000
+++ b/libao2/ao_pcm.c	Thu May 30 11:53:51 2002 +0000
@@ -1,7 +1,9 @@
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
-#include "config.h"
 #include "bswap.h"
 #include "afmt.h"
 #include "audio_out.h"
--- a/libao2/ao_plugin.c	Thu May 30 11:42:55 2002 +0000
+++ b/libao2/ao_plugin.c	Thu May 30 11:53:51 2002 +0000
@@ -1,7 +1,8 @@
+#include "../config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
-
-#include "../config.h"
+#include <string.h>
 
 #include "afmt.h"
 #include "audio_out.h"
--- a/libao2/pl_delay.c	Thu May 30 11:42:55 2002 +0000
+++ b/libao2/pl_delay.c	Thu May 30 11:53:51 2002 +0000
@@ -7,6 +7,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "audio_out.h"
 #include "audio_plugin.h"
--- a/libao2/pl_format.c	Thu May 30 11:42:55 2002 +0000
+++ b/libao2/pl_format.c	Thu May 30 11:53:51 2002 +0000
@@ -9,6 +9,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 #include <inttypes.h>
 
--- a/libao2/pl_surround.c	Thu May 30 11:42:55 2002 +0000
+++ b/libao2/pl_surround.c	Thu May 30 11:53:51 2002 +0000
@@ -38,6 +38,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 #include "audio_out.h"