Date: Mon, 13 Dec 2010 19:50:12 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r216417 - head/usr.bin/printf Message-ID: <201012131950.oBDJoCrE092153@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012131950.oBDJoCrE092153>