]> granicus.if.org Git - apache/commitdiff
Fix the calling convention on Windows for ap_bucket_printf() and
authorJeff Trawick <trawick@apache.org>
Mon, 18 Sep 2000 19:30:23 +0000 (19:30 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 18 Sep 2000 19:30:23 +0000 (19:30 +0000)
ap_method_list_do().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86249 13f79535-47bb-0310-9956-ffa450edef68

include/http_protocol.h
modules/http/http_protocol.c

index 7a6921bd5b4436d534fa8d16436f0cc885dc64f9..1e4f2ef2993fdc76bd1067279c1ef25fe584760a 100644 (file)
@@ -265,10 +265,10 @@ API_EXPORT(size_t) ap_send_mmap(apr_mmap_t *mm, request_rec *r, size_t offset,
 API_EXPORT(ap_method_list_t *) ap_make_method_list(apr_pool_t *p, int nelts);
 API_EXPORT(void) ap_copy_method_list(ap_method_list_t *dest,
                                     ap_method_list_t *src);
-API_EXPORT(void) ap_method_list_do(int (*comp) (void *urec, const char *mname,
-                                               int mnum),
-                                  void *rec,
-                                  const ap_method_list_t *ml, ...);
+API_EXPORT_NONSTD(void) ap_method_list_do(int (*comp) (void *urec, const char *mname,
+                                                      int mnum),
+                                         void *rec,
+                                         const ap_method_list_t *ml, ...);
 API_EXPORT(void) ap_method_list_vdo(int (*comp) (void *urec, const char *mname,
                                                 int mnum),
                                    void *rec, const ap_method_list_t *ml,
index e7cc8f0a862ab09f40816c5ca50337e15aadb860..cc208887e3b8f7e7037feadd2f98532d916522f8 100644 (file)
@@ -1683,10 +1683,10 @@ API_EXPORT(void) ap_copy_method_list(ap_method_list_t *dest,
 /*
  * Invoke a callback routine for each method in the specified list.
  */
-API_EXPORT(void) ap_method_list_do(int (*comp) (void *urec, const char *mname,
-                                               int mnum),
-                                  void *rec,
-                                  const ap_method_list_t *ml, ...)
+API_EXPORT_NONSTD(void) ap_method_list_do(int (*comp) (void *urec, const char *mname,
+                                                      int mnum),
+                                         void *rec,
+                                         const ap_method_list_t *ml, ...)
 {
     va_list vp;
     va_start(vp, ml);