apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject [PATCH] fix warning in apr_mmap_dup
Date Thu, 22 Nov 2001 10:23:43 GMT
The warning was:

mmap.c: In function `apr_mmap_dup':
mmap.c:180: warning: implicit declaration of function `apr_pmemdup'

and here's a fix:

Index: mmap.c
===================================================================
RCS file: /home/cvspublic/apr/mmap/unix/mmap.c,v
retrieving revision 1.37
diff -u -r1.37 mmap.c
--- mmap.c	2001/11/21 17:00:51	1.37
+++ mmap.c	2001/11/22 10:05:53
@@ -55,6 +55,7 @@
 #include "apr.h"
 #include "apr_private.h"
 #include "apr_general.h"
+#include "apr_strings.h"
 #include "apr_mmap.h"
 #include "apr_errno.h"
 #include "fileio.h"

Mime
View raw message