svn commit: r216417 - head/usr.bin/printf
Xin LI
delphij at FreeBSD.org
Mon Dec 13 19:50:12 UTC 2010
Author: delphij
Date: Mon Dec 13 19:50:12 2010
New Revision: 216417
URL: http://svn.freebsd.org/changeset/base/216417
Log:
Move locale.h include to the beginning header section as pointed out by
style(9)
Submitted by: Pedro F. Giffuni <giffunip tutopia.com>
Modified:
head/usr.bin/printf/printf.c
Modified: head/usr.bin/printf/printf.c
==============================================================================
--- head/usr.bin/printf/printf.c Mon Dec 13 19:03:10 2010 (r216416)
+++ head/usr.bin/printf/printf.c Mon Dec 13 19:50:12 2010 (r216417)
@@ -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) \
More information about the svn-src-head
mailing list