diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 11:32:52 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 11:32:52 +0000 |
commit | ccd46baa8d5d13bb9e355014c9d2871d15ab28a6 (patch) | |
tree | 39275693f3d25a3e5d1c547b4f9f91322e45a1e8 /lib/libc/gen/vis.c | |
parent | 0fa6dff06f9c0691460fcdba5b1e09d6ccd05dc1 (diff) |
Wrap <vis.h> so that calls go direct and the symbols are all weak
Diffstat (limited to 'lib/libc/gen/vis.c')
-rw-r--r-- | lib/libc/gen/vis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/vis.c b/lib/libc/gen/vis.c index 799f8fd6f21..4400c7bf1ca 100644 --- a/lib/libc/gen/vis.c +++ b/lib/libc/gen/vis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vis.c,v 1.24 2015/07/20 01:52:28 millert Exp $ */ +/* $OpenBSD: vis.c,v 1.25 2015/09/13 11:32:51 guenther Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -136,6 +136,7 @@ done: *dst = '\0'; return (dst); } +DEF_WEAK(vis); /* * strvis, strnvis, strvisx - visually encode characters from src into dst @@ -161,6 +162,7 @@ strvis(char *dst, const char *src, int flag) *dst = '\0'; return (dst - start); } +DEF_WEAK(strvis); int strnvis(char *dst, const char *src, size_t siz, int flag) |