Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv20926/src
Modified Files:
Tag: rel-1_0
common.h
Log Message:
remove some extra #include's from common.h (and make vsend_message static to helpfile.c)
provide mutex for gline database access (and make sockcheck.c use gline_*)
only include each gline once in the gline heap
Index: common.h
===================================================================
RCS file: /cvsroot/srvx/services/src/common.h,v
retrieving revision 1.60.2.7
retrieving revision 1.60.2.8
diff -C2 -r1.60.2.7 -r1.60.2.8
*** common.h 2001/08/12 22:18:58 1.60.2.7
--- common.h 2001/08/14 15:31:29 1.60.2.8
***************
*** 24,38 ****
#include "config.h"
- #ifdef TIME_WITH_SYS_TIME
- # include <time.h>
- # include <sys/time.h>
- #else
- # ifdef HAVE_SYS_TIME_H
- # include <sys/time.h>
- # else
- # include <time.h>
- # endif
- #endif
-
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H)
# define alloca __builtin_alloca
--- 24,27 ----
***************
*** 51,65 ****
#endif
- #ifdef HAVE_NETINET_IN_H
- #include <netinet/in.h>
- #endif
-
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
! #ifdef HAVE_STDARG_H
! #include <stdarg.h>
! #endif
#include "proto.h"
--- 40,48 ----
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
! #define SOCKCHECK_USABLE (defined(HAVE_POLL) && defined(HAVE_PTHREAD) && !defined(__CYGWIN__))
#include "proto.h"
***************
*** 201,205 ****
DECLARE_LIST(string_buffer, char);
void string_buffer_append_string(struct string_buffer *buf, const char *tail);
- int string_buffer_sprintf(struct string_buffer *buf, const char *format, va_list al);
void string_buffer_replace(struct string_buffer *buf, unsigned int from, unsigned int len, const char *repl);
--- 184,187 ----
|