From: Francesco Chemolli Date: Fri, 31 Aug 2012 08:01:51 +0000 (+0200) Subject: Moved parseNeighborType to cache_cf.h X-Git-Tag: sourceformat-review-1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a9136ad9558943884cceec3dae5302cc94cc4bd;p=thirdparty%2Fsquid.git Moved parseNeighborType to cache_cf.h --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 75acb96bd4..b529ccf763 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -147,6 +147,8 @@ static void dump_ecap_service_type(StoreEntry *, const char *, const Adaptation: static void free_ecap_service_type(Adaptation::Ecap::Config *); #endif +static peer_t parseNeighborType(const char *s); + CBDATA_TYPE(peer); static const char *const T_MILLISECOND_STR = "millisecond"; diff --git a/src/cache_cf.h b/src/cache_cf.h index cf2ffd7b24..f7e1d10fee 100644 --- a/src/cache_cf.h +++ b/src/cache_cf.h @@ -47,4 +47,5 @@ extern void parse_wordlist(wordlist ** list); extern void requirePathnameExists(const char *name, const char *path); extern void parse_time_t(time_t * var); + #endif /* SQUID_CACHE_CF_H_ */ diff --git a/src/protos.h b/src/protos.h index ed9de7a5e9..bae1a3674d 100644 --- a/src/protos.h +++ b/src/protos.h @@ -88,7 +88,6 @@ extern void reconfigure(int); #include "fatal.h" -SQUIDCEXTERN peer_t parseNeighborType(const char *s); SQUIDCEXTERN int stringHasWhitespace(const char *); //String.cc SQUIDCEXTERN int stringHasCntl(const char *); //String.cc