diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-05-23 00:21:49 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-05-23 00:21:49 +0000 |
commit | 4e6718047ab63edf33ded9aaae80044c585b4af7 (patch) | |
tree | 18d9ca955aa21bfa0fe646a8280de5d78fc995ea | |
parent | b9876b3bdaa01995b1f78ab6131b28c167cc91ce (diff) |
Make _fwalk and _cleanup completely internal to libc
ok deraadt@
-rw-r--r-- | lib/libc/stdio/fwalk.c | 3 | ||||
-rw-r--r-- | lib/libc/stdio/local.h | 6 |
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); |