Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcompat/4.3 In lint redefine __compat_regerror to __co...



details:   https://anonhg.NetBSD.org/src/rev/0ec557ecf94b
branches:  trunk
changeset: 472678:0ec557ecf94b
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 04 17:11:01 1999 +0000

description:
In lint redefine __compat_regerror to __compat43_regerror, to avoid clash
with the other __compat_regerror...

diffstat:

 lib/libcompat/4.3/regex.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f284f8fe5b75 -r 0ec557ecf94b lib/libcompat/4.3/regex.c
--- a/lib/libcompat/4.3/regex.c Tue May 04 17:10:10 1999 +0000
+++ b/lib/libcompat/4.3/regex.c Tue May 04 17:11:01 1999 +0000
@@ -46,12 +46,15 @@
 #if 0
 static char sccsid[] = "from: @(#)regex.c      5.1 (Berkeley) 3/29/92";*/
 #else
-__RCSID("$NetBSD: regex.c,v 1.8 1998/06/01 20:22:58 kleink Exp $");
+__RCSID("$NetBSD: regex.c,v 1.9 1999/05/04 17:11:01 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
 #include <stddef.h>
+#ifdef __lint__
+#define __compat_regerror __compat43_regerror
+#endif
 #include <regexp.h>
 #include <re_comp.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index