Browse Source

remove some unneeded includes; one found by vetinari

OPENBSD_4_0
otto 18 years ago
parent
commit
b10a9a26fe
3 changed files with 3 additions and 6 deletions
  1. +1
    -2
      src/usr.sbin/ntpd/ntp.c
  2. +1
    -2
      src/usr.sbin/ntpd/ntp_msg.c
  3. +1
    -2
      src/usr.sbin/ntpd/server.c

+ 1
- 2
src/usr.sbin/ntpd/ntp.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: ntp.c,v 1.90 2006/06/30 16:52:13 deraadt Exp $ */
/* $OpenBSD: ntp.c,v 1.91 2006/07/01 18:52:46 otto Exp $ */
/* /*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -32,7 +32,6 @@
#include <unistd.h> #include <unistd.h>
#include "ntpd.h" #include "ntpd.h"
#include "ntp.h"
#define PFD_PIPE_MAIN 0 #define PFD_PIPE_MAIN 0
#define PFD_HOTPLUG 1 #define PFD_HOTPLUG 1


+ 1
- 2
src/usr.sbin/ntpd/ntp_msg.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: ntp_msg.c,v 1.15 2005/09/24 00:32:03 dtucker Exp $ */
/* $OpenBSD: ntp_msg.c,v 1.16 2006/07/01 18:52:46 otto Exp $ */
/* /*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -24,7 +24,6 @@
#include <errno.h> #include <errno.h>
#include "ntpd.h" #include "ntpd.h"
#include "ntp.h"
int int
ntp_getmsg(struct sockaddr *sa, char *p, ssize_t len, struct ntp_msg *msg) ntp_getmsg(struct sockaddr *sa, char *p, ssize_t len, struct ntp_msg *msg)


+ 1
- 2
src/usr.sbin/ntpd/server.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: server.c,v 1.29 2006/06/07 06:29:03 otto Exp $ */
/* $OpenBSD: server.c,v 1.30 2006/07/01 18:52:46 otto Exp $ */
/* /*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -26,7 +26,6 @@
#include <unistd.h> #include <unistd.h>
#include "ntpd.h" #include "ntpd.h"
#include "ntp.h"
int int
setup_listeners(struct servent *se, struct ntpd_conf *conf, u_int *cnt) setup_listeners(struct servent *se, struct ntpd_conf *conf, u_int *cnt)


Loading…
Cancel
Save