]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
header files should include everything they need to compile
authorCliff Woolley <jwoolley@apache.org>
Tue, 16 Jul 2002 23:58:56 +0000 (23:58 +0000)
committerCliff Woolley <jwoolley@apache.org>
Tue, 16 Jul 2002 23:58:56 +0000 (23:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96088 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/cache_pqueue.h

index 286d6b94a789e7bfb025743743b20383fbc49521..a650f44dac2c3454e6c7b6607b6eb8af4a7610a5 100644 (file)
 #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 @@ typedef void cache_pqueue_print_entry(FILE *out, void *a);
  * @Return the handle or NULL for insufficent memory
  */
 cache_pqueue_t *cache_pq_init(apr_ssize_t n,
-                              cache_pqueue_get_prioritypri,
+                              cache_pqueue_get_priority *pri,
                               cache_pqueue_getpos get,
                               cache_pqueue_setpos set);
 /**
@@ -119,7 +126,7 @@ apr_ssize_t cache_pq_size(cache_pqueue_t *q);
  * @param d the item
  * @return APR_SUCCESS on success
  */
-apr_status_t cache_pq_insert(cache_pqueue_t *q, voidd);
+apr_status_t cache_pq_insert(cache_pqueue_t *q, void *d);
 
 /*
  * move a existing entry to a different priority