/*
- * $Id: asn.cc,v 1.86 2002/10/25 07:36:32 robertc Exp $
+ * $Id: asn.cc,v 1.87 2003/01/17 08:21:51 robertc Exp $
*
* DEBUG: section 53 AS Number handling
* AUTHOR: Duane Wessels, Kostas Anagnostakis
/* initialize the radix tree structure */
-extern int squid_max_keylen; /* yuck.. this is in lib/radix.c */
+SQUIDCEXTERN int squid_max_keylen; /* yuck.. this is in lib/radix.c */
CBDATA_TYPE(ASState);
void
/*
- * $Id: store_dir_ufs.cc,v 1.52 2002/12/27 10:26:39 robertc Exp $
+ * $Id: store_dir_ufs.cc,v 1.53 2003/01/17 08:21:52 robertc Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
#elif USE_TRUNCATE
truncate(path, 0);
#else
- unlink(path);
+ ::unlink(path);
#endif
}
int fd;
file_close(swaplog_fd);
#if defined (_SQUID_OS2_) || defined (_SQUID_CYGWIN_) || defined(_SQUID_MSWIN_)
- if (unlink(swaplog_path) < 0) {
+ if (::unlink(swaplog_path) < 0) {
debug(50, 0) ("%s: %s\n", swaplog_path, xstrerror());
fatal("commonUfsDirCloseTmpSwapLog: unlink failed");
}
#if defined(_SQUID_OS2_) || defined (_SQUID_CYGWIN_) || defined(_SQUID_MSWIN_)
file_close(state->fd);
state->fd = -1;
- if (unlink(state->cur) < 0)
+ if (::unlink(state->cur) < 0)
debug(50, 0) ("storeDirWriteCleanLogs: unlinkd failed: %s, %s\n",
xstrerror(), state->cur);
#endif
/*
- * $Id: snmp_core.cc,v 1.58 2002/10/21 06:43:07 adrian Exp $
+ * $Id: snmp_core.cc,v 1.59 2003/01/17 08:21:51 robertc Exp $
*
* DEBUG: section 49 SNMP support
* AUTHOR: Glenn Chisholm
static mib_tree_entry *snmpAddNode();
static oid *snmpCreateOid();
#endif
-extern void (*snmplib_debug_hook) (int, char *);
+SQUIDCEXTERN void (*snmplib_debug_hook) (int, char *);
static oid *static_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn);
static oid *time_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn);
static oid *peer_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn);
/*
- * $Id: tools.cc,v 1.228 2003/01/17 05:37:24 robertc Exp $
+ * $Id: tools.cc,v 1.229 2003/01/17 08:21:51 robertc Exp $
*
* DEBUG: section 21 Misc Functions
* AUTHOR: Harvest Derived
SQUIDCEXTERN int setresuid(uid_t, uid_t, uid_t);
#endif /* _SQUID_LINUX */
-extern void (*failure_notify) (const char *);
+SQUIDCEXTERN void (*failure_notify) (const char *);
MemPool *dlink_node_pool = NULL;