Fix compilation with gcc 4.1. This is imported on the vendor branch as it

was applied in the mainstream source and a later complete import of
4.2.2p3 will complete the fix.

Submitted by:	kan
This commit is contained in:
Ollivier Robert 2006-09-28 16:02:34 +00:00
parent b9bb0f5d00
commit 8c24a1e0ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/ntp/dist/; revision=162735
2 changed files with 4 additions and 0 deletions

View File

@ -134,8 +134,10 @@ extern u_char * cache_key; /* key pointer */
extern u_int cache_keylen; /* key length */
/* clocktypes.c */
#ifdef NTP_REFCLOCK_H
struct clktype;
extern struct clktype clktypes[];
#endif
/* getopt.c */
extern char * ntp_optarg; /* global argument pointer */

View File

@ -226,8 +226,10 @@ extern int config_priority;
#endif
/* ntp_control.c */
#if 0
struct ctl_trap;
extern struct ctl_trap ctl_trap[];
#endif
extern int num_ctl_traps;
extern keyid_t ctl_auth_keyid; /* keyid used for authenticating write requests */