diff --git a/ucspi-tcp-x/dotls.c b/ucspi-tcp-x/dotls.c index f254ca9c2..77d627b79 100644 --- a/ucspi-tcp-x/dotls.c +++ b/ucspi-tcp-x/dotls.c @@ -40,10 +40,6 @@ #define FATAL "dotls: fatal: " #define HUGECAPATEXT 5000 -#ifndef lint -const char sccsid[] = "$Id: dotls.c,v 1.24 2023-08-20 15:16:12+05:30 Cprogrammer Exp mbhangui $"; -#endif - int do_data(); int do_retr(); int smtp_ehlo(char *, char *, int); @@ -1070,14 +1066,13 @@ main(int argc, char **argv) _exit(0); } -#ifndef lint void -getversion_sslclient_c() +getversion_dotls_c() { - if (write(1, sccsid, 0) == -1) - ; + const char *x = "$Id: dotls.c,v 1.24 2023-08-20 15:16:12+05:30 Cprogrammer Exp mbhangui $"; + + x++; } -#endif #else #warning "not compiled with -DTLS" #include "substdio.h" diff --git a/ucspi-tcp-x/rblsmtpd.c b/ucspi-tcp-x/rblsmtpd.c index d942246a7..6112712bd 100644 --- a/ucspi-tcp-x/rblsmtpd.c +++ b/ucspi-tcp-x/rblsmtpd.c @@ -102,10 +102,6 @@ typedef const char c_char; -#ifndef lint -const char sccsid[] = "$Id: rblsmtpd.c,v 1.24 2021-08-30 12:47:59+05:30 Cprogrammer Exp mbhangui $"; -#endif - no_return void nomem(void) { @@ -679,6 +675,7 @@ main(int argc, char **argv, char **envp) void getversion_rblsmtpd_c() { - if (write(1, sccsid, 0) == -1) - ; + const char *x = "$Id: rblsmtpd.c,v 1.24 2021-08-30 12:47:59+05:30 Cprogrammer Exp mbhangui $"; + + x++; } diff --git a/ucspi-tcp-x/tcpclient.c b/ucspi-tcp-x/tcpclient.c index 42a290611..a1558ffb9 100644 --- a/ucspi-tcp-x/tcpclient.c +++ b/ucspi-tcp-x/tcpclient.c @@ -50,10 +50,6 @@ #define FATAL "tcpclient: fatal: " -#ifndef lint -const char sccsid[] = "$Id: tcpclient.c,v 1.33 2023-08-20 15:17:12+05:30 Cprogrammer Exp mbhangui $"; -#endif - extern int socket_tcpnodelay(int); no_return void @@ -824,14 +820,13 @@ main(int argc, char **argv) return (0); } -#ifndef lint void getversion_tcpclient_c() { - if (write(1, sccsid, 0) == -1) - ; + const char *x = "$Id: tcpclient.c,v 1.33 2023-08-20 15:17:12+05:30 Cprogrammer Exp mbhangui $"; + + x++; } -#endif /* * $Log: tcpclient.c,v $ diff --git a/ucspi-tcp-x/tcpserver.c b/ucspi-tcp-x/tcpserver.c index bcd0a6c46..e72e21ee8 100644 --- a/ucspi-tcp-x/tcpserver.c +++ b/ucspi-tcp-x/tcpserver.c @@ -66,10 +66,6 @@ #include "control.h" #include "auto_home.h" -#ifndef lint -const char sccsid[] = "$Id: tcpserver.c,v 1.92 2023-11-26 18:28:05+05:30 Cprogrammer Exp mbhangui $"; -#endif - typedef const char c_char; #ifdef IPV6 static int forcev6; @@ -2012,8 +2008,9 @@ main(int argc, char **argv, char **envp) void getversion_tcpserver_c() { - if (write(1, sccsid, 0) == -1) - ; + const char *x = "$Id: tcpserver.c,v 1.92 2023-11-26 18:28:05+05:30 Cprogrammer Exp mbhangui $"; + + x++; } /* diff --git a/ucspi-tcp-x/tcpserver_plugin.c b/ucspi-tcp-x/tcpserver_plugin.c index e5eacf56e..bbd2adfdf 100644 --- a/ucspi-tcp-x/tcpserver_plugin.c +++ b/ucspi-tcp-x/tcpserver_plugin.c @@ -50,10 +50,6 @@ * */ -#ifndef lint -const char sccsid[] = "$Id: tcpserver_plugin.c,v 1.16 2021-07-03 14:05:14+05:30 Cprogrammer Exp mbhangui $"; -#endif - #define FATAL "tcpserver: fatal: " #ifdef LOAD_SHARED_OBJECTS @@ -204,6 +200,6 @@ tcpserver_plugin(char **envp) void getversion_tcpserver_plugin_c() { - if (write(1, sccsid, 0) == -1) - ; + const char *x = "$Id: tcpserver_plugin.c,v 1.16 2021-07-03 14:05:14+05:30 Cprogrammer Exp mbhangui $"; + x++; }