summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strerror_r.c
diff options
context:
space:
mode:
authorguenther <>2015-09-05 11:25:30 +0000
committerguenther <>2015-09-05 11:25:30 +0000
commit9bd9ea1e2dcdaad0b3a64cf0240acfa7c885f4d2 (patch)
treeafc88c4b4c6d7b062be2b4e575e8d879b0db6fae /src/lib/libc/string/strerror_r.c
parent237233ce584d25df55d24c3114c46b643889d98d (diff)
downloadopenbsd-9bd9ea1e2dcdaad0b3a64cf0240acfa7c885f4d2.tar.gz
openbsd-9bd9ea1e2dcdaad0b3a64cf0240acfa7c885f4d2.tar.bz2
openbsd-9bd9ea1e2dcdaad0b3a64cf0240acfa7c885f4d2.zip
Use new framework for wrapping cat{open,gets,close}(), eliminating
_cat* in the process. ok kettenis@
Diffstat (limited to 'src/lib/libc/string/strerror_r.c')
-rw-r--r--src/lib/libc/string/strerror_r.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libc/string/strerror_r.c b/src/lib/libc/string/strerror_r.c
index 90aa012360..2262cb512d 100644
--- a/src/lib/libc/string/strerror_r.c
+++ b/src/lib/libc/string/strerror_r.c
@@ -1,10 +1,7 @@
1/* $OpenBSD: strerror_r.c,v 1.9 2015/08/31 02:53:57 guenther Exp $ */ 1/* $OpenBSD: strerror_r.c,v 1.10 2015/09/05 11:25:30 guenther Exp $ */
2/* Public Domain <marc@snafu.org> */ 2/* Public Domain <marc@snafu.org> */
3 3
4#ifdef NLS 4#ifdef NLS
5#define catclose _catclose
6#define catgets _catgets
7#define catopen _catopen
8#include <nl_types.h> 5#include <nl_types.h>
9#endif 6#endif
10 7