diff options
author | 2013-11-12 07:04:06 +0000 | |
---|---|---|
committer | 2013-11-12 07:04:06 +0000 | |
commit | 724185f6dfe553e1796f02a12c073304c1fe3401 (patch) | |
tree | 663d5c7cd7b1d977788d50581728172aa55b7e19 /lib/libc/stdio | |
parent | permute15() should be static. Not cranking libc now, because it is (diff) | |
download | wireguard-openbsd-724185f6dfe553e1796f02a12c073304c1fe3401.tar.xz wireguard-openbsd-724185f6dfe553e1796f02a12c073304c1fe3401.zip |
both files contain a function which should only be static.
not cranking libc over this (unless an issue is found in ports)
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/fgetln.c | 4 | ||||
-rw-r--r-- | lib/libc/stdio/findfp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/fgetln.c b/lib/libc/stdio/fgetln.c index 539b3c081cd..d0c0809be96 100644 --- a/lib/libc/stdio/fgetln.c +++ b/lib/libc/stdio/fgetln.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fgetln.c,v 1.11 2009/11/21 09:53:44 guenther Exp $ */ +/* $OpenBSD: fgetln.c,v 1.12 2013/11/12 07:04:06 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -43,7 +43,7 @@ * so we add 1 here. #endif */ -int +static int __slbexpand(FILE *fp, size_t newsize) { void *p; diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c index 63458b18afa..c7f437a78f2 100644 --- a/lib/libc/stdio/findfp.c +++ b/lib/libc/stdio/findfp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: findfp.c,v 1.12 2009/11/09 00:18:27 kurt Exp $ */ +/* $OpenBSD: findfp.c,v 1.13 2013/11/12 07:04:06 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -146,7 +146,7 @@ found: * XXX. Force immediate allocation of internal memory. Not used by stdio, * but documented historically for certain applications. Bad applications. */ -void +static void f_prealloc(void) { struct glue *g; |