simplify prototypes -- works better for older systems
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 1 Apr 1995 07:57:16 +0000 (23:57 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 1 Apr 1995 07:57:16 +0000 (23:57 -0800)
SCCS-vsn: usr.sbin/sendmail/src/sendmail.h 8.115
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.148

usr/src/usr.sbin/sendmail/src/conf.c
usr/src/usr.sbin/sendmail/src/sendmail.h

index 0660dd4..2bccdb4 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.147 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.148 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -2746,7 +2746,7 @@ extern int        h_errno;
 
 struct hostent *
 sm_gethostbyname(name)
 
 struct hostent *
 sm_gethostbyname(name)
-       const char *name;
+       char *name;
 {
 #if defined(SOLARIS) && SOLARIS < 204
        extern int h_errno;
 {
 #if defined(SOLARIS) && SOLARIS < 204
        extern int h_errno;
@@ -2769,7 +2769,7 @@ sm_gethostbyname(name)
 
 struct hostent *
 sm_gethostbyaddr(addr, len, type)
 
 struct hostent *
 sm_gethostbyaddr(addr, len, type)
-       const char *addr;
+       char *addr;
        int len;
        int type;
 {
        int len;
        int type;
 {
index 8a65179..ed606c9 100644 (file)
@@ -5,7 +5,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)sendmail.h  8.114 (Berkeley) %G%
+ *     @(#)sendmail.h  8.115 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -15,7 +15,7 @@
 # ifdef _DEFINE
 # define EXTERN
 # ifndef lint
 # ifdef _DEFINE
 # define EXTERN
 # ifndef lint
-static char SmailSccsId[] =    "@(#)sendmail.h 8.114           %G%";
+static char SmailSccsId[] =    "@(#)sendmail.h 8.115           %G%";
 # endif
 # else /*  _DEFINE */
 # define EXTERN extern
 # endif
 # else /*  _DEFINE */
 # define EXTERN extern
@@ -1100,8 +1100,8 @@ extern void               finis __P(());
 extern void            clrevent __P((EVENT *));
 extern void            setsender __P((char *, ENVELOPE *, char **, bool));
 extern FILE            *safefopen __P((char *, int, int, int));
 extern void            clrevent __P((EVENT *));
 extern void            setsender __P((char *, ENVELOPE *, char **, bool));
 extern FILE            *safefopen __P((char *, int, int, int));
-extern struct hostent  *sm_gethostbyname __P((const char *));
-extern struct hostent  *sm_gethostbyaddr __P((const char *, int, int));
+extern struct hostent  *sm_gethostbyname __P((char *));
+extern struct hostent  *sm_gethostbyaddr __P((char *, int, int));
 extern struct passwd   *sm_getpwnam __P((char *));
 extern struct passwd   *sm_getpwuid __P((UID_T));
 
 extern struct passwd   *sm_getpwnam __P((char *));
 extern struct passwd   *sm_getpwuid __P((UID_T));