]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove from "lbl/os-solaris2.h" declarations of functions we don't use;
authorguy <guy>
Wed, 11 Oct 2000 04:02:15 +0000 (04:02 +0000)
committerguy <guy>
Wed, 11 Oct 2000 04:02:15 +0000 (04:02 +0000)
the declaration of "utimes()" collides with the declaration that SunOS
5.5.1 and later, at least, *do* have.  (5.5.1 doesn't declare
"snprintf()", even though it has "snprintf()", so we declare it here; we
declare some others that don't cause problems.)

lbl/os-solaris2.h

index a35c0a1d68ffaa70737bb03f8efe318f8f65d714..5c01b87212e62304d1ea33a18b88bb3410f8a093 100644 (file)
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * @(#) $Header: /tcpdump/master/tcpdump/lbl/os-solaris2.h,v 1.18 1999-10-07 23:47:13 mcr Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/lbl/os-solaris2.h,v 1.19 2000-10-11 04:02:15 guy Exp $ (LBL)
  */
 
 /* Prototypes missing in SunOS 5 */
-int    daemon(int, int);
-int    dn_expand(const u_char *, const u_char *, const u_char *, char *, int);
-int    dn_skipname(const u_char *, const u_char *);
-int    flock(int, int);
-int    getdtablesize(void);
-int    gethostname(char *, int);
-int    getpagesize(void);
-char   *getusershell(void);
-char   *getwd(char *);
-int    iruserok(u_int, int, char *, char *);
-#ifdef __STDC__
-struct utmp;
-void   login(struct utmp *);
-#endif
-int    logout(const char *);
-int    res_query(const char *, int, int, u_char *, int);
-int    setenv(const char *, const char *, int);
 #if defined(_STDIO_H) && defined(HAVE_SETLINEBUF)
 int    setlinebuf(FILE *);
 #endif
-int    sigblock(int);
-int    sigsetmask(int);
 char    *strerror(int);
 int    snprintf(char *, size_t, const char *, ...);
 int    strcasecmp(const char *, const char *);
-void   unsetenv(const char *);
-#ifdef __STDC__
-struct timeval;
-#endif
-int    utimes(const char *, struct timeval *);