Remove redundant declarations of getopt(3) externals (since <unistd.h> does

take care of them), and add __FreeBSD__ to the defined() checks for the
_PATH_DIVNAME.
This commit is contained in:
Juli Mallett 2002-05-02 05:25:23 +00:00
parent eee11f05b4
commit 8f12fc049c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95918
2 changed files with 2 additions and 4 deletions

View File

@ -146,9 +146,6 @@ struct keyblk keywrds[] = { /* m4 keywords to be installed */
#define MAXKEYS (sizeof(keywrds)/sizeof(struct keyblk))
extern int optind;
extern char *optarg;
#define MAXRECORD 50
static struct position {
char *name;

View File

@ -50,7 +50,8 @@
#define UNIQUE 3 /* unique char location */
#endif
#if defined(unix) || defined(__NetBSD__) || defined(__OpenBSD__)
#if defined(unix) || defined(__FreeBSD__) || defined(__NetBSD__) || \
defined(__OpenBSD__)
#define _PATH_DIVNAME "/tmp/m4.0XXXXXXXXXX" /* unix diversion files */
#define UNIQUE 8 /* unique char location */
#endif