summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2002-05-03 21:03:37 +0000
committermaxim <maxim@FreeBSD.org>2002-05-03 21:03:37 +0000
commitb187b4614074a352788adbb99557c8ca688051ca (patch)
tree718999ef4f0cf0792d143e6a3a2393885920475a /usr.sbin
parent86b36dec21d58c39508f8fcb842ccd4c860d5d36 (diff)
downloadFreeBSD-src-b187b4614074a352788adbb99557c8ca688051ca.zip
FreeBSD-src-b187b4614074a352788adbb99557c8ca688051ca.tar.gz
style(9): sort includes, remove EOL spaces.
MFC after: 1 week
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/newsyslog/newsyslog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index 7e178a9..aa13187 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -36,6 +36,10 @@ static const char rcsid[] =
#define BZCOMPRESS_POSTFIX ".bz2"
#endif
+#include <sys/param.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+
#include <ctype.h>
#include <err.h>
#include <errno.h>
@@ -49,10 +53,6 @@ static const char rcsid[] =
#include <string.h>
#include <time.h>
#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/param.h>
-#include <sys/wait.h>
#include "pathnames.h"
@@ -944,7 +944,7 @@ parse8601(char *s, char *errline)
return -1;
}
if ((tsecs = mktime(&tm)) == -1)
- errx(1, "nonexistent time:\n%s", errline);
+ errx(1, "nonexistent time:\n%s", errline);
return tsecs;
}
@@ -1115,6 +1115,6 @@ parseDWM(char *s, char *errline)
s = t;
}
if ((tsecs = mktime(&tm)) == -1)
- errx(1, "nonexistent time:\n%s", errline);
+ errx(1, "nonexistent time:\n%s", errline);
return tsecs;
}
OpenPOWER on IntegriCloud