You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2002/02/14 04:13:53 UTC
cvs commit: httpd-apreq/c apache_cookie.h apache_multipart_buffer.h
joes 02/02/13 19:13:53
Modified: c apache_cookie.h apache_multipart_buffer.h
Log:
Prevent multiple includes with #ifdef
Revision Changes Path
1.3 +5 -0 httpd-apreq/c/apache_cookie.h
Index: apache_cookie.h
===================================================================
RCS file: /home/cvs/httpd-apreq/c/apache_cookie.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- apache_cookie.h 30 Oct 2001 22:24:10 -0000 1.2
+++ apache_cookie.h 14 Feb 2002 03:13:53 -0000 1.3
@@ -1,3 +1,6 @@
+#ifndef _APACHE_COOKIE_H
+#define _APACHE_COOKIE_H
+
#include "apache_request.h"
typedef array_header ApacheCookieJar;
@@ -50,3 +53,5 @@
#endif
#define APC_ERROR APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, c->r
+
+#endif
1.3 +5 -0 httpd-apreq/c/apache_multipart_buffer.h
Index: apache_multipart_buffer.h
===================================================================
RCS file: /home/cvs/httpd-apreq/c/apache_multipart_buffer.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- apache_multipart_buffer.h 17 Dec 2000 00:36:38 -0000 1.2
+++ apache_multipart_buffer.h 14 Feb 2002 03:13:53 -0000 1.3
@@ -1,3 +1,6 @@
+#ifndef _APACHE_MULTIPART_BUFFER_H
+#define _APACHE_MULTIPART_BUFFER_H
+
#include "apache_request.h"
/*#define DEBUG 1*/
@@ -27,3 +30,5 @@
int multipart_buffer_read(multipart_buffer *self, char *buf, int bytes);
char *multipart_buffer_read_body(multipart_buffer *self);
int multipart_buffer_eof(multipart_buffer *self);
+
+#endif