apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr-util/include apr_strmatch.h
Date Sat, 25 May 2002 00:06:44 GMT
jwoolley    02/05/24 17:06:44

  Modified:    include  apr_strmatch.h
  Log:
  The extern "C" {} should not encompass any #include's.
  
  Revision  Changes    Path
  1.3       +5 -5      apr-util/include/apr_strmatch.h
  
  Index: apr_strmatch.h
  ===================================================================
  RCS file: /home/cvs/apr-util/include/apr_strmatch.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -d -u -r1.2 -r1.3
  --- apr_strmatch.h	12 May 2002 04:56:04 -0000	1.2
  +++ apr_strmatch.h	25 May 2002 00:06:44 -0000	1.3
  @@ -62,6 +62,10 @@
    * @file apr_strmatch.h
    * @brief APR-UTIL string matching routines
    */
  +
  +#include "apu.h"
  +#include "apr_pools.h"
  +
   #ifdef __cplusplus
   extern "C" {
   #endif
  @@ -72,17 +76,13 @@
    * @{
    */
   
  -#include "apu.h"
  -#include "apr_pools.h"
  -
  -
   typedef struct apr_strmatch_pattern apr_strmatch_pattern;
   /**
    * Precompiled search pattern
    */
   struct apr_strmatch_pattern {
       const char *(*compare)(const apr_strmatch_pattern *this_pattern,
  -                            const char *s, apr_size_t slen);
  +                           const char *s, apr_size_t slen);
       const char *pattern;
       apr_size_t length;
       void *context;  /* hook for subclasses to add precomputed metadata */
  
  
  

Mime
View raw message