X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=miscutil.h;h=e7c150ac5216b2c567116f856cb3bdaf5c886292;hp=6c51ee9515e39e6d435126df1f630bd32be128cb;hb=c6c5c067bb9119640ff95ec5e3cd03c129b2e12d;hpb=8a8d5061c4646c704b2f247225ccb6cf80561bc2 diff --git a/miscutil.h b/miscutil.h index 6c51ee95..e7c150ac 100644 --- a/miscutil.h +++ b/miscutil.h @@ -1,6 +1,5 @@ #ifndef MISCUTIL_H_INCLUDED #define MISCUTIL_H_INCLUDED -#define MISCUTIL_H_VERSION "$Id: miscutil.h,v 1.36 2012/07/23 12:41:59 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/miscutil.h,v $ @@ -46,11 +45,12 @@ extern "C" { extern const char *basedir; extern void *zalloc(size_t size); +extern void *zalloc_or_die(size_t size); extern char *strdup_or_die(const char *str); extern void *malloc_or_die(size_t buffer_size); #if defined(unix) -extern void write_pid_file(void); +extern void write_pid_file(const char *pidfile); #endif /* unix */ extern unsigned int hash_string(const char* s); @@ -91,10 +91,6 @@ size_t privoxy_strlcat(char *destination, const char *source, size_t size); #define strlcat privoxy_strlcat #endif /* ndef HAVE_STRLCAT */ -/* Revision control strings from this header and associated .c file */ -extern const char miscutil_rcs[]; -extern const char miscutil_h_rcs[]; - #if defined(__cplusplus) } #endif