summaryrefslogtreecommitdiff
path: root/include/vis.h
diff options
context:
space:
mode:
authorfvdl <fvdl@NetBSD.org>1997-10-22 00:51:45 +0000
committerfvdl <fvdl@NetBSD.org>1997-10-22 00:51:45 +0000
commit21e1e24df3d908083f5ab8b8173f5f28cc94c9fc (patch)
tree6d1e38ea5f1aa9d15fcc5e08fead2c3613f7de88 /include/vis.h
parent0ab13b6dc632f3c6af9aeabc13fe34c68d7cba70 (diff)
New hacks to make libc work painlessly without bumping the major number:
use type func(arg1s) asm("emitted_name") gcc mechanism. Suggested by Bill Sommerfeld.
Diffstat (limited to 'include/vis.h')
-rw-r--r--include/vis.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/vis.h b/include/vis.h
index b13a13fa84d..fe4e2c9fa78 100644
--- a/include/vis.h
+++ b/include/vis.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vis.h,v 1.6 1997/10/20 22:05:40 thorpej Exp $ */
+/* $NetBSD: vis.h,v 1.7 1997/10/22 00:54:01 fvdl Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -80,10 +80,12 @@ char *vis __P((char *, int, int, int));
int strvis __P((char *, const char *, int));
int strvisx __P((char *, const char *, size_t, int));
int strunvis __P((char *, const char *));
+#ifdef __LIBC12_SOURCE__
int unvis __P((char *, char, int *, int));
int __unvis13 __P((char *, int, int *, int));
+#else
+int unvis __P((char *, int, int *, int)) __RENAME("__unvis13");
+#endif
__END_DECLS
-#define unvis(p,c,i,j) __unvis13(p,c,i,j)
-
#endif /* !_VIS_H_ */