Many modifications for mdsms -> sms9110 branch transition.
authorshort <>
Tue, 7 Sep 1999 10:31:52 +0000 (10:31 +0000)
committershort <>
Tue, 7 Sep 1999 10:31:52 +0000 (10:31 +0000)
NEWS
acconfig.h

diff --git a/NEWS b/NEWS
index 5130256..197c017 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,6 @@
-MobilDock SMS sender NEWS
-=========================
+Nokia 9110 SmartMessaging SMS sender NEWS
+=========================================
 
 $Id$
 
-1.2: Stabilization release
-  Compatibility problem with Digital UNIX 4.0 termios fixed,
-  all currently known defects have been fixed.
+1.4: First SMS9110 alpha release
index c20241f..1e9459d 100644 (file)
@@ -55,6 +55,9 @@
 #undef ATTR_UNUSED
 
 @BOTTOM@
+
+#ifndef DONT_NEED_DECLARATIONS
+
 /* Declaration for gethostname(3)? */
 #undef NEED_DECLARATION_GETHOSTNAME
 #ifdef NEED_DECLARATION_GETHOSTNAME
@@ -99,17 +102,30 @@ char *strdup(const char *s);
 void usleep(unsigned long usec);
 #endif
 
+/* Declaration for strcasecmp(3)? */
+#undef NEED_DECLARATION_STRCASECMP
+#ifdef NEED_DECLARATION_STRCASECMP
+#include <string.h>
+int strcasecmp(const char *s1, const char *s2);
+#endif
+
+#endif /* !DONT_NEED_DECLARATIONS */
+
 /* snprintf(3) unsafe emulation */
 #ifdef HAVE_SNPRINTF
-#define VARPRINTF(v,f,d) snprintf((v),sizeof((v)),f,(d))
+#define VARPRINTF(v,f,d)      snprintf((v),sizeof((v)),f,(d)      )
+#define VARPRINTF2(v,f,d1,d2) snprintf((v),sizeof((v)),f,(d1),(d2))
 #else
-#define VARPRINTF(v,f,d) sprintf((v),f,(d))
+#define VARPRINTF(v,f,d)      sprintf((v),sizeof((v)),f,(d)      )
+#define VARPRINTF2(v,f,d1,d2) sprintf((v),sizeof((v)),f,(d1),(d2))
 #endif
 
 /* vsnprintf(3) unsafe emulation */
 #ifdef HAVE_VSNPRINTF
-#define VARVPRINTF(v,f,d) vsnprintf((v),sizeof((v)),f,(d))
+#define VARVPRINTF(v,f,d)      vsnprintf((v),sizeof((v)),f,(d)      )
+#define VARVPRINTF2(v,f,d1,d2) vsnprintf((v),sizeof((v)),f,(d1),(d2))
 #else
-#define VARVPRINTF(v,f,d) vsprintf((v),f,(d))
+#define VARVPRINTF(v,f,d)      vsprintf((v),sizeof((v)),f,(d)      )
+#define VARVPRINTF2(v,f,d1,d2) vsprintf((v),sizeof((v)),f,(d1),(d2))
 #endif