Unix Technical Forum

Needless header inclusion in ntpd

This is a discussion on Needless header inclusion in ntpd within the mailing.openbsd.tech forums, part of the OpenBSD category; --> ntp.c includes both ntpd.h and ntp.h while the former already includes the latter. Index: ntp.c ================================================== ================= RCS file: ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:43 AM
vetinari
 
Posts: n/a
Default Needless header inclusion in ntpd

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

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com