Date: Sun, 6 Nov 2011 16:37:15 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227221 - head/usr.sbin/timed/timed Message-ID: <201111061637.pA6GbF4a030398@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111061637.pA6GbF4a030398>