summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-07-24 05:56:58 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-07-24 05:56:58 +0000
commit2a8b7ab409b3eb5adeaebe9c4242a5a5f75da62d (patch)
treeeb4fab8937d739611fee9c033b8b7c9683f75c2f
parent0dd75bd11ad0521c80a620c4281c705e8a742521 (diff)
Actually, let's use straight defines instead of macros. Potentially a
better approach.
-rw-r--r--lib/libcompat/regexp/regexp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcompat/regexp/regexp.h b/lib/libcompat/regexp/regexp.h
index e4bf5d8a367..c195195fedc 100644
--- a/lib/libcompat/regexp/regexp.h
+++ b/lib/libcompat/regexp/regexp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: regexp.h,v 1.2 1996/07/24 05:39:12 downsj Exp $ */
+/* $OpenBSD: regexp.h,v 1.3 1996/07/24 05:56:57 downsj Exp $ */
/* $NetBSD: regexp.h,v 1.3 1994/10/26 00:56:15 cgd Exp $ */
/*
@@ -64,10 +64,10 @@ typedef struct regexp {
* Redefine these to prevent conflicts with the POSIX routines.
*/
-#define regcomp(_exp) v8_regcomp(_exp)
-#define regexec(_prg, _str) v8_regexec(_prg, _str)
-#define regsub(_prg, _src, _dst) v8_regsub(_prg, _src, _dst)
-#define regerror(_msg) v8_regerror(_msg)
+#define regcomp v8_regcomp
+#define regexec v8_regexec
+#define regsub v8_regsub
+#define regerror v8_regerror
#include <sys/cdefs.h>