You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jw...@apache.org on 2002/07/17 01:58:56 UTC
cvs commit: httpd-2.0/modules/experimental cache_pqueue.h
jwoolley 2002/07/16 16:58:56
Modified: modules/experimental cache_pqueue.h
Log:
header files should include everything they need to compile
Revision Changes Path
1.2 +9 -2 httpd-2.0/modules/experimental/cache_pqueue.h
Index: cache_pqueue.h
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/experimental/cache_pqueue.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -u -r1.1 -r1.2
--- cache_pqueue.h 6 Jun 2002 19:07:09 -0000 1.1
+++ cache_pqueue.h 16 Jul 2002 23:58:56 -0000 1.2
@@ -59,6 +59,13 @@
#ifndef CACHE_PQUEUE_H
#define CACHE_PQUEUE_H
+#include <apr.h>
+#include <apr_errno.h>
+
+#if APR_HAVE_STDIO_H
+#include <stdio.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -99,7 +106,7 @@
* @Return the handle or NULL for insufficent memory
*/
cache_pqueue_t *cache_pq_init(apr_ssize_t n,
- cache_pqueue_get_priority* pri,
+ cache_pqueue_get_priority *pri,
cache_pqueue_getpos get,
cache_pqueue_setpos set);
/**
@@ -119,7 +126,7 @@
* @param d the item
* @return APR_SUCCESS on success
*/
-apr_status_t cache_pq_insert(cache_pqueue_t *q, void* d);
+apr_status_t cache_pq_insert(cache_pqueue_t *q, void *d);
/*
* move a existing entry to a different priority