summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-12-13 19:50:12 +0000
committerdelphij <delphij@FreeBSD.org>2010-12-13 19:50:12 +0000
commitb1a65ed0c12f30efc9083483c886e5e3d126515e (patch)
tree39544ed39affcaf9113ed47906ab3b907a20f35a
parent62c21ef295fcc635d63dce3a43f6dd9af9a9819b (diff)
downloadFreeBSD-src-b1a65ed0c12f30efc9083483c886e5e3d126515e.zip
FreeBSD-src-b1a65ed0c12f30efc9083483c886e5e3d126515e.tar.gz
Move locale.h include to the beginning header section as pointed out by
style(9) Submitted by: Pedro F. Giffuni <giffunip tutopia.com>
-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 dc6fe51..19b1ddd 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) \
OpenPOWER on IntegriCloud