summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-05-23 00:21:48 +0000
committerguenther <guenther@openbsd.org>2016-05-23 00:21:48 +0000
commita9c2ddde0949efd2accd4bb6d0225555a5e9bb6d (patch)
treeba1faa45a9a0ee5e1f65c1342097e4acf316dbce /lib/libc
parentStop supporting longjmperror(); it's not used, not portable, and the checks (diff)
downloadwireguard-openbsd-a9c2ddde0949efd2accd4bb6d0225555a5e9bb6d.tar.xz
wireguard-openbsd-a9c2ddde0949efd2accd4bb6d0225555a5e9bb6d.zip
Make _fwalk and _cleanup completely internal to libc
ok deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/fwalk.c3
-rw-r--r--lib/libc/stdio/local.h6
2 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/stdio/fwalk.c b/lib/libc/stdio/fwalk.c
index fffa5c76274..4b1aa436edc 100644
--- a/lib/libc/stdio/fwalk.c
+++ b/lib/libc/stdio/fwalk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fwalk.c,v 1.11 2015/10/04 07:33:46 guenther Exp $ */
+/* $OpenBSD: fwalk.c,v 1.12 2016/05/23 00:21:48 guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -51,4 +51,3 @@ _fwalk(int (*function)(FILE *))
}
return (ret);
}
-DEF_STRONG(_fwalk);
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h
index ad888b0fd50..603259e5a50 100644
--- a/lib/libc/stdio/local.h
+++ b/lib/libc/stdio/local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: local.h,v 1.24 2016/05/07 19:05:22 guenther Exp $ */
+/* $OpenBSD: local.h,v 1.25 2016/05/23 00:21:48 guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -42,11 +42,9 @@
#include "fileext.h"
#include "thread_private.h"
+__BEGIN_HIDDEN_DECLS
void _cleanup(void);
int _fwalk(int (*)(FILE *));
-PROTO_NORMAL(_fwalk);
-
-__BEGIN_HIDDEN_DECLS
int __sflush(FILE *);
int __sflush_locked(FILE *);
FILE *__sfp(void);