summaryrefslogtreecommitdiff
path: root/usr.bin/printf/printf.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2010-12-13 19:50:12 +0000
committerXin LI <delphij@FreeBSD.org>2010-12-13 19:50:12 +0000
commitc9aca921b845c5d33b13d8e6cdc52f148abd7c12 (patch)
tree39544ed39affcaf9113ed47906ab3b907a20f35a /usr.bin/printf/printf.c
parent2506c55201c9249a98e298627968edfcfd712bfa (diff)
Notes
Diffstat (limited to 'usr.bin/printf/printf.c')
-rw-r--r--usr.bin/printf/printf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index dc6fe5117be1..19b1ddd8cd63 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -1,4 +1,4 @@
-/*
+/*-
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
@@ -49,6 +49,7 @@ static const char rcsid[] =
#include <errno.h>
#include <inttypes.h>
#include <limits.h>
+#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -65,8 +66,6 @@ static const char rcsid[] =
#define warnx3(a, b, c) warnx(a, b, c)
#endif
-#include <locale.h>
-
#define PF(f, func) do { \
char *b = NULL; \
if (havewidth) \