ianh 2002/07/16 21:22:47
Modified: crypto apr_md5.c getuuid.c
Log:
remove apr_private.h from apr_md5.c (as it isn't required)
change order of includes so that apr.h is included >before< we check #defines
it sets ;-)
Revision Changes Path
1.2 +0 -3 apr-util/crypto/apr_md5.c
Index: apr_md5.c
===================================================================
RCS file: /home/cvs/apr-util/crypto/apr_md5.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apr_md5.c 17 Jul 2002 02:53:26 -0000 1.1
+++ apr_md5.c 17 Jul 2002 04:22:47 -0000 1.2
@@ -95,9 +95,6 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning
Kamp
*
----------------------------------------------------------------------------
*/
-#ifndef WIN32
-#include "apr_private.h"
-#endif
#include "apr_strings.h"
#include "apr_md5.h"
#include "apr_lib.h"
1.2 +6 -6 apr-util/crypto/getuuid.c
Index: getuuid.c
===================================================================
RCS file: /home/cvs/apr-util/crypto/getuuid.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- getuuid.c 17 Jul 2002 04:11:33 -0000 1.1
+++ getuuid.c 17 Jul 2002 04:22:47 -0000 1.2
@@ -56,6 +56,12 @@
* This attempts to generate V1 UUIDs according to the Internet Draft
* located at http://www.webdav.org/specs/draft-leach-uuids-guids-01.txt
*/
+#include "apr.h"
+#include "apr_uuid.h"
+#include "apr_md5.h"
+#include "apr_general.h"
+#include "apr_portable.h"
+
#if APR_HAVE_UNISTD_H
#include <unistd.h> /* for getpid, gethostname */
@@ -63,12 +69,6 @@
#if APR_HAVE_STDLIB_H
#include <stdlib.h> /* for rand, srand */
#endif
-
-#include "apr.h"
-#include "apr_uuid.h"
-#include "apr_md5.h"
-#include "apr_general.h"
-#include "apr_portable.h"
#if APR_HAVE_STRING_H