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"
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to