dgaudet 98/02/14 02:43:22
Modified: src/include ap.h src/main http_main.c Log: move ap_killpg to ap.h Revision Changes Path 1.7 +13 -0 apache-1.3/src/include/ap.h Index: ap.h =================================================================== RCS file: /export/home/cvs/apache-1.3/src/include/ap.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ap.h 1998/02/03 20:00:57 1.6 +++ ap.h 1998/02/14 10:43:19 1.7 @@ -64,4 +64,17 @@ API_EXPORT(int) ap_vsnprintf(char *, size_t, const char *, va_list ap); int ap_execle(const char *, const char *, ...); int ap_execve(const char *, const char *argv[], const char *envp[]); + +/* small utility macros to make things easier to read */ + +#ifdef WIN32 +#define ap_killpg(x, y) +#else +#ifdef NO_KILLPG +#define ap_killpg(x, y) (kill (-(x), (y))) +#else +#define ap_killpg(x, y) (killpg ((x), (y))) +#endif +#endif /* WIN32 */ + #endif /* !APACHE_AP_H */ 1.287 +0 -12 apache-1.3/src/main/http_main.c Index: http_main.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v retrieving revision 1.286 retrieving revision 1.287 diff -u -r1.286 -r1.287 --- http_main.c 1998/02/09 01:09:39 1.286 +++ http_main.c 1998/02/14 10:43:20 1.287 @@ -320,18 +320,6 @@ scoreboard *scoreboard_image = NULL; -/* small utility macros to make things easier to read */ - -#ifdef WIN32 -#define ap_killpg(x, y) -#else -#ifdef NO_KILLPG -#define ap_killpg(x, y) (kill (-(x), (y))) -#else -#define ap_killpg(x, y) (killpg ((x), (y))) -#endif -#endif /* WIN32 */ - #if defined(USE_FCNTL_SERIALIZED_ACCEPT) || defined(USE_FLOCK_SERIALIZED_ACCEPT) static void expand_lock_fname(pool *p) {