svn commit: r200470 - head/usr.bin/calendar
Xin LI
delphij at FreeBSD.org
Sat Dec 12 20:50:12 PST 2009
Author: delphij
Date: Sun Dec 13 04:50:11 2009
New Revision: 200470
URL: http://svn.freebsd.org/changeset/base/200470
Log:
- Remove times.h from C programs that does not manipulate with time at
all.
- Remove pathnames.h from all but io.c since it's the only module that
used these definations.
Modified:
head/usr.bin/calendar/calendar.c
head/usr.bin/calendar/day.c
head/usr.bin/calendar/ostern.c
head/usr.bin/calendar/paskha.c
Modified: head/usr.bin/calendar/calendar.c
==============================================================================
--- head/usr.bin/calendar/calendar.c Sun Dec 13 04:34:51 2009 (r200469)
+++ head/usr.bin/calendar/calendar.c Sun Dec 13 04:50:11 2009 (r200470)
@@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$");
#include <time.h>
#include <unistd.h>
-#include "pathnames.h"
#include "calendar.h"
struct passwd *pw;
Modified: head/usr.bin/calendar/day.c
==============================================================================
--- head/usr.bin/calendar/day.c Sun Dec 13 04:34:51 2009 (r200469)
+++ head/usr.bin/calendar/day.c Sun Dec 13 04:50:11 2009 (r200470)
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <time.h>
-#include "pathnames.h"
#include "calendar.h"
struct tm *tp;
Modified: head/usr.bin/calendar/ostern.c
==============================================================================
--- head/usr.bin/calendar/ostern.c Sun Dec 13 04:34:51 2009 (r200469)
+++ head/usr.bin/calendar/ostern.c Sun Dec 13 04:50:11 2009 (r200470)
@@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <time.h>
#include "calendar.h"
Modified: head/usr.bin/calendar/paskha.c
==============================================================================
--- head/usr.bin/calendar/paskha.c Sun Dec 13 04:34:51 2009 (r200469)
+++ head/usr.bin/calendar/paskha.c Sun Dec 13 04:50:11 2009 (r200470)
@@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <time.h>
#include "calendar.h"
More information about the svn-src-head
mailing list