OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Needless header inclusion in ntpd

From: Otto Moerbeek (ottodrijf.net)
Date: Sat Jul 01 2006 - 13:57:37 CDT


On Sat, 1 Jul 2006, vetinari wrote:

> ntp.c includes both ntpd.h and ntp.h while the former already includes the
> latter.

comitted (and some other unneeded includes as well), thanks,

        -Otto
>
> Index: ntp.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/ntpd/ntp.c,v
> retrieving revision 1.67
> diff -u -r1.67 ntp.c
> --- ntp.c 10 Aug 2005 13:48:36 -0000 1.67
> +++ ntp.c 1 Jul 2006 17:04:30 -0000
> -32,7 +32,6
> #include <unistd.h>
>
> #include "ntpd.h"
> -#include "ntp.h"
>
> #define PFD_PIPE_MAIN 0
> #define PFD_MAX 1
>
>
> --
> vetinari