Author: ed
Date: Sun Nov  6 16:37:15 2011
New Revision: 227221
URL: http://svn.freebsd.org/changeset/base/227221

Log:
  Simplify inclusion of the tsptype array a bit.
  
  We don't need this array in timed.c -- only readmsg.c.

Modified:
  head/usr.sbin/timed/timed/readmsg.c
  head/usr.sbin/timed/timed/timed.c

Modified: head/usr.sbin/timed/timed/readmsg.c
==============================================================================
--- head/usr.sbin/timed/timed/readmsg.c Sun Nov  6 16:36:54 2011        
(r227220)
+++ head/usr.sbin/timed/timed/readmsg.c Sun Nov  6 16:37:15 2011        
(r227221)
@@ -35,10 +35,9 @@ static const char rcsid[] =
   "$FreeBSD$";
 #endif /* not lint */
 
+#define        TSPTYPES
 #include "globals.h"
 
-extern char *tsptype[];
-
 /*
  * LOOKAT checks if the message is of the requested type and comes from
  * the right machine, returning 1 in case of affirmative answer

Modified: head/usr.sbin/timed/timed/timed.c
==============================================================================
--- head/usr.sbin/timed/timed/timed.c   Sun Nov  6 16:36:54 2011        
(r227220)
+++ head/usr.sbin/timed/timed/timed.c   Sun Nov  6 16:37:15 2011        
(r227221)
@@ -42,7 +42,6 @@ static char sccsid[] = "@(#)timed.c   8.1 
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#define TSPTYPES
 #include "globals.h"
 #include <net/if.h>
 #include <sys/file.h>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to