summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2004-08-25 23:41:05 +0000
committerStef Walter <stef@thewalter.net>2004-08-25 23:41:05 +0000
commit6c835a8ebc590caebc4979fb7dcb223673a3ec85 (patch)
tree4baf6f0772169ce970966ec22a526af174be0d92
parent82d27b14e9e3ac81e7fd37092806ef6ad685683b (diff)
Misc win32 fixes and cleanup.
-rw-r--r--config.win32.h2
-rw-r--r--src/rep.c7
2 files changed, 1 insertions, 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();