diff options
author | 2013-11-12 07:04:35 +0000 | |
---|---|---|
committer | 2013-11-12 07:04:35 +0000 | |
commit | 1b5098ce5af0beb7c1b212d5ecfa928e80a50885 (patch) | |
tree | 52435f265db88926013b7585b1ca5188a395c2e9 /lib/libc/stdio/flags.c | |
parent | both files contain a function which should only be static. (diff) | |
download | wireguard-openbsd-1b5098ce5af0beb7c1b212d5ecfa928e80a50885.tar.xz wireguard-openbsd-1b5098ce5af0beb7c1b212d5ecfa928e80a50885.zip |
a __fputwc_unlock() prototype was available in fvwrite.h, so use that
Diffstat (limited to 'lib/libc/stdio/flags.c')
-rw-r--r-- | lib/libc/stdio/flags.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/flags.c b/lib/libc/stdio/flags.c index 36f8410a293..8cd1ce279d0 100644 --- a/lib/libc/stdio/flags.c +++ b/lib/libc/stdio/flags.c @@ -1,4 +1,4 @@ -/* $OpenBSD: flags.c,v 1.6 2005/08/08 08:05:36 espie Exp $ */ +/* $OpenBSD: flags.c,v 1.7 2013/11/12 07:04:35 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -35,6 +35,7 @@ #include <sys/file.h> #include <stdio.h> #include <errno.h> +#include "local.h" /* * Return the (stdio) flags for a given mode. Store the flags |