Browse Source

move prototypes that are really in ntp.c; ok henning@

OPENBSD_4_5
stevesk 16 years ago
parent
commit
63f41dd5bb
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/usr.sbin/ntpd/ntpd.h

+ 4
- 4
src/usr.sbin/ntpd/ntpd.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: ntpd.h,v 1.98 2009/02/10 16:52:09 stevesk Exp $ */ /* $OpenBSD: ntpd.h,v 1.99 2009/02/11 01:00:10 stevesk Exp $ */
/* /*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -268,6 +268,9 @@ int priv_adjtime(void);
void priv_settime(double); void priv_settime(double);
void priv_host_dns(char *, u_int32_t); void priv_host_dns(char *, u_int32_t);
int offset_compare(const void *, const void *); int offset_compare(const void *, const void *);
void update_scale(double);
time_t scale_interval(time_t);
time_t error_interval(void);
extern struct ntpd_conf *conf; extern struct ntpd_conf *conf;
/* parse.y */ /* parse.y */
@ -295,9 +298,6 @@ int client_nextaddr(struct ntp_peer *);
int client_query(struct ntp_peer *); int client_query(struct ntp_peer *);
int client_dispatch(struct ntp_peer *, u_int8_t); int client_dispatch(struct ntp_peer *, u_int8_t);
void client_log_error(struct ntp_peer *, const char *, int); void client_log_error(struct ntp_peer *, const char *, int);
void update_scale(double);
time_t scale_interval(time_t);
time_t error_interval(void);
void set_next(struct ntp_peer *, time_t); void set_next(struct ntp_peer *, time_t);
/* util.c */ /* util.c */


|||||||
|||||||
xxxxxxxxxx
 
000:0
x
 
000:0
Loading…
Cancel
Save