Dead code elimination, cleanup.
[mdsms.git] / mdsms.c
diff --git a/mdsms.c b/mdsms.c
index 39a9c03..8794249 100644 (file)
--- a/mdsms.c
+++ b/mdsms.c
@@ -3,31 +3,6 @@
 static char rcsid[] ATTR_UNUSED = "$Id$";
 #endif
 
-/*
- * $Log$
- * Revision 1.7  1999/07/29 14:39:38  short
- * '-f' flag is working now.
- *
- * Revision 1.6  1999/07/28 10:46:37  short
- * Removed strict converting/checking of symbol characters to '?'.
- *
- * Revision 1.5  1999/07/19 10:02:51  short
- * Removed '\xXY' chars for compatibility with Digital UNIX vendor "cc".
- *
- * Revision 1.4  1999/07/14 01:01:11  short
- * Termios made compatible with Digital UNIX 4.0, cfset[io]speed() missing.
- *
- * Revision 1.3  1999/06/03 11:46:41  short
- * Logging (--log) implemented.
- *
- * Revision 1.2  1999/06/03 10:38:52  short
- * Implemented remaining communication timeouts and maximum retry count.
- *
- * Revision 1.1.1.1  1999/05/26 13:06:26  short
- * First alpha release.
- *
- */
-
 #include "setup.h"
 
 #include <stdio.h>
@@ -54,14 +29,6 @@ static char rcsid[] ATTR_UNUSED = "$Id$";
 #include "getopt.h"
 #endif
 
-#if 0
-char *strdup(const char *s);
-int kill(pid_t pid,int sig);
-int snprintf(char *str,size_t n,const char *format,...);
-int vsnprintf(char *str,size_t n,const char *format,va_list ap);
-void usleep(unsigned long usec);
-#endif
-
 #define NELEM(x) (sizeof((x))/sizeof(*(x)))
 
 #ifndef DEBUG
@@ -248,7 +215,7 @@ Usage: " PACKAGE " [-c|--config <cfgfile>] [-d|--device <device>]\n\
 static const struct option longopts[]={
 {"config"  ,1,0,'c'},
 {"device"  ,1,0,'d'},
-{"log"     ,1,0,'l'},
+{"log"     ,1,0,'L'},
 {"lockfile",1,0,'l'},
 {"smsc"    ,1,0,'s'},
 {"maxretry",1,0,'m'},