From 7d008a5949357a1ee74bf60a5455e1605654fa3e Mon Sep 17 00:00:00 2001 From: Ragnvald Maartmann-Moe IV Date: Sun, 20 May 2001 20:35:39 +0000 Subject: [PATCH] whitespace --- qw/source/buildnum.c | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/qw/source/buildnum.c b/qw/source/buildnum.c index ff2042e77..f55802863 100644 --- a/qw/source/buildnum.c +++ b/qw/source/buildnum.c @@ -29,29 +29,28 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif - -#include #ifdef HAVE_STRING_H -#include +# include #endif #ifdef HAVE_STRINGS_H -#include +# include #endif -//char *date = "Dec 21 1999"; -static char *date = __DATE__; -static char *mon[12] = - { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", - "Nov", "Dec" }; +#include + +static char *date = __DATE__; // Was "Dec 21 1999" +static char *mon[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", + "Aug", "Sep", "Oct", "Nov", "Dec" }; static char mond[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; -// returns days since Dec 21 1999 + +/* returns days since Dec 21 1999 */ int build_number (void) { - int m = 0; - int d = 0; - int y = 0; + int m = 0; + int d = 0; + int y = 0; static int b = 0; if (b != 0) @@ -73,7 +72,7 @@ build_number (void) b += 1; } - b -= 36148; // Dec 21 1999 + b -= 36148; // Dec 21 1999 return b; }