implicit declaration warnings

Kevin Steves stevesk at pobox.com
Thu Dec 28 13:57:45 EST 2000


On Wed, 27 Dec 2000, Pekka Savola wrote:
: auth-rhosts.c:110: warning: implicit declaration of function `innetgr'

is there a standard place for the proto for innetgr()?  openbsd has
<netgroup.h>; linux has <netdb.h>; HP-UX doesn't define a prototype at
all (i'll submit a defect).

btw, unless i'm missing something, i think we want this:

--- ../../openssh-2.3.0p1/includes.h	Wed Oct 18 02:02:25 2000
+++ includes.h	Thu Dec 28 03:55:37 2000
@@ -32,7 +32,6 @@
 #include <netinet/tcp.h>
 #endif
 #include <arpa/inet.h>
-#include <netdb.h>
 
 #include <stdio.h>
 #include <ctype.h>






More information about the openssh-unix-dev mailing list