Simplify inclusion of the tsptype array a bit.

We don't need this array in timed.c -- only readmsg.c.
This commit is contained in:
Ed Schouten 2011-11-06 16:37:15 +00:00
parent 130515293b
commit acd29a915f
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -42,7 +42,6 @@ static char sccsid[] = "@(#)timed.c 8.1 (Berkeley) 6/6/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#define TSPTYPES
#include "globals.h"
#include <net/if.h>
#include <sys/file.h>