You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@locus.apache.org on 2000/05/26 20:54:04 UTC

cvs commit: apache-2.0/src/lib/apr/misc/unix getopt.c

wrowe       00/05/26 11:54:02

  Modified:    src/lib/apr/lib apr_cpystrn.c
               src/lib/apr/include apr_getopt.h
               src/lib/apr/misc/unix getopt.c
  Log:
    Just a few functions missing linkage specs.
  
  Revision  Changes    Path
  1.20      +1 -1      apache-2.0/src/lib/apr/lib/apr_cpystrn.c
  
  Index: apr_cpystrn.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_cpystrn.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- apr_cpystrn.c	2000/05/26 16:23:24	1.19
  +++ apr_cpystrn.c	2000/05/26 18:53:54	1.20
  @@ -210,7 +210,7 @@
    * Corrected Win32 to accept "a/b\\stuff", "a:stuff"
    */
   
  -const char *ap_filename_of_pathname(const char *pathname)
  +APR_EXPORT(const char *) ap_filename_of_pathname(const char *pathname)
   {
       const char path_separator = '/';
       const char *s = strrchr(pathname, path_separator);
  
  
  
  1.10      +3 -2      apache-2.0/src/lib/apr/include/apr_getopt.h
  
  Index: apr_getopt.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_getopt.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- apr_getopt.h	2000/05/26 16:23:12	1.9
  +++ apr_getopt.h	2000/05/26 18:53:58	1.10
  @@ -87,8 +87,9 @@
   
   =cut
    */
  -ap_status_t ap_getopt(ap_int32_t nargc, char *const *nargv, const char *ostr,
  -                      ap_int32_t *rv, ap_pool_t *cont);
  +APR_EXPORT(ap_status_t) ap_getopt(ap_int32_t nargc, char *const *nargv, 
  +                                  const char *ostr, ap_int32_t *rv, 
  +                                  ap_pool_t *cont);
   
   #endif  /* ! APR_GETOPT_H */
   
  
  
  
  1.13      +3 -1      apache-2.0/src/lib/apr/misc/unix/getopt.c
  
  Index: getopt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/unix/getopt.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- getopt.c	2000/05/26 16:23:30	1.12
  +++ getopt.c	2000/05/26 18:54:00	1.13
  @@ -42,7 +42,9 @@
   
   #define EMSG    ""
   
  -ap_status_t ap_getopt(ap_int32_t nargc, char *const *nargv, const char *ostr, ap_int32_t *rv, ap_pool_t *cont)
  +APR_EXPORT(ap_status_t) ap_getopt(ap_int32_t nargc, char *const *nargv, 
  +                                  const char *ostr, ap_int32_t *rv, 
  +                                  ap_pool_t *cont)
   {
       char *p;
       static char *place = EMSG;   /* option letter processing */