From 6c835a8ebc590caebc4979fb7dcb223673a3ec85 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 25 Aug 2004 23:41:05 +0000 Subject: Misc win32 fixes and cleanup. --- config.win32.h | 2 +- src/rep.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/config.win32.h b/config.win32.h index 011f67b..5ee8f7c 100644 --- a/config.win32.h +++ b/config.win32.h @@ -211,7 +211,7 @@ #define VERSION "2.3.2e" /* PCRE header path */ -#define PCRE_H "pcre/pcre.h" +#define PCRE_H "pcre.h" /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ diff --git a/src/rep.c b/src/rep.c index 4a7fbb5..aec5220 100644 --- a/src/rep.c +++ b/src/rep.c @@ -89,11 +89,6 @@ int replaceSingleFile(r_context* ctx, const char* szIn); /* Error stuff */ int usage(); -void blah(void) -{ - printf("exiting\n"); -} - /* ------------------------------------------------------------------------ */ int main(int argc, char* argv[]) @@ -114,8 +109,6 @@ int main(int argc, char* argv[]) int ret = 0; int r = R_OK; - atexit(blah); - /* Enough params? */ if(argc < 2) return usage(); -- cgit v1.2.3