diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-09-12 13:46:32 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-09-12 13:46:32 +0000 |
commit | 56b9efc0f3f0ebf8a9c7f70d3c9c3fb47f86c1d6 (patch) | |
tree | 1802ab3510e718e6985f6769048767b9b8cf797a /lib/libc/stdio/makebuf.c | |
parent | a4b72ef0403c67e2d88c69ed60306bcc7406dd76 (diff) | |
download | FreeBSD-src-56b9efc0f3f0ebf8a9c7f70d3c9c3fb47f86c1d6.zip FreeBSD-src-56b9efc0f3f0ebf8a9c7f70d3c9c3fb47f86c1d6.tar.gz |
Move the declaration of __cleanup to libc_private.h as it is used in both
stdio/ and stdlib/. Don't define __cleanup twice.
Diffstat (limited to 'lib/libc/stdio/makebuf.c')
-rw-r--r-- | lib/libc/stdio/makebuf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/makebuf.c b/lib/libc/stdio/makebuf.c index bc8a468..bdade67 100644 --- a/lib/libc/stdio/makebuf.c +++ b/lib/libc/stdio/makebuf.c @@ -46,9 +46,11 @@ __FBSDID("$FreeBSD$"); #include <unistd.h> #include <stdio.h> #include <stdlib.h> -#include "local.h" #include "un-namespace.h" +#include "libc_private.h" +#include "local.h" + /* * Allocate a file buffer, or switch to unbuffered I/O. * Per the ANSI C standard, ALL tty devices default to line buffered. |