]> granicus.if.org Git - apache/commitdiff
ap_getline() is useful to modules outside of the core..
authorDoug MacEachern <dougm@apache.org>
Wed, 7 Nov 2001 05:41:22 +0000 (05:41 +0000)
committerDoug MacEachern <dougm@apache.org>
Wed, 7 Nov 2001 05:41:22 +0000 (05:41 +0000)
change declaration from AP_CORE_DECLARE to AP_DECLARE so it can be used
used outside the core
PR:
Obtained from:
Submitted by:
Reviewed by:

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

include/http_protocol.h
server/protocol.c

index 9ca5bc8266d642ee569a302f6ab8704ee4468810..bb87cbf36478d26c459dcae12dc451c418ba6f68 100644 (file)
@@ -526,7 +526,7 @@ AP_DECLARE(int) ap_get_basic_auth_pw(request_rec *r, const char **pw);
  */
 AP_CORE_DECLARE(void) ap_parse_uri(request_rec *r, const char *uri);
 
-AP_CORE_DECLARE(int) ap_getline(char *s, int n, request_rec *r, int fold);
+AP_DECLARE(int) ap_getline(char *s, int n, request_rec *r, int fold);
 
 /**
  * Get the method number associated with the given string, assumed to
index 8c57ae6464d1428ca4ac4b52faf8bd1f6d245e6e..ce601e10a512f0444eef01213be00c8e3a2fe7b5 100644 (file)
@@ -198,7 +198,7 @@ AP_DECLARE(apr_time_t) ap_rationalize_mtime(request_rec *r, apr_time_t mtime)
  *        If no LF is detected on the last line due to a dropped connection 
  *        or a full buffer, that's considered an error.
  */
-AP_CORE_DECLARE(int) ap_getline(char *s, int n, request_rec *r, int fold)
+AP_DECLARE(int) ap_getline(char *s, int n, request_rec *r, int fold)
 {
     char *pos = s;
     char *last_char;