diff options
author | 1996-07-24 05:56:57 +0000 | |
---|---|---|
committer | 1996-07-24 05:56:57 +0000 | |
commit | bd0dd1c9593adb334b55e041f657dbe45984b351 (patch) | |
tree | 17b38adffc8142c70725b084e60226feb5664fe0 /lib/libcompat/regexp/regexp.h | |
parent | Prevent the v8 style regexp library from clashing with the POSIX regex. (diff) | |
download | wireguard-openbsd-bd0dd1c9593adb334b55e041f657dbe45984b351.tar.xz wireguard-openbsd-bd0dd1c9593adb334b55e041f657dbe45984b351.zip |
Actually, let's use straight defines instead of macros. Potentially a
better approach.
Diffstat (limited to 'lib/libcompat/regexp/regexp.h')
-rw-r--r-- | lib/libcompat/regexp/regexp.h | 10 |
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> |