Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2009 04:50:11 +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: r200470 - head/usr.bin/calendar
Message-ID:  <200912130450.nBD4oBmm074244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912130450.nBD4oBmm074244>