]> granicus.if.org Git - yasm/commitdiff
Fixed two ansi C errors (empty file and extra semicolon)
authorMichael Urman <mu@tortall.net>
Tue, 18 Sep 2001 03:23:52 +0000 (03:23 -0000)
committerMichael Urman <mu@tortall.net>
Tue, 18 Sep 2001 03:23:52 +0000 (03:23 -0000)
svn path=/trunk/yasm/; revision=183

libyasm/strcasecmp.c
libyasm/util.h
src/strcasecmp.c
src/util.h
util.h

index 56ff90b0114375587e4f4de94abfd0eb96fa5580..b0aa443cd168bfce44a68f18b6afa4b7556ee59f 100644 (file)
@@ -36,6 +36,8 @@
 
 #include "util.h"
 
+RCSID("$IdPath$");
+
 #ifdef USE_OUR_OWN_STRCASECMP
 
 #if defined(LIBC_SCCS) && !defined(lint)
@@ -47,8 +49,6 @@ static char sccsid[] = "@(#)strcasecmp.c      8.1 (Berkeley) 6/4/93";
 # include <ctype.h>
 #endif
 
-RCSID("$IdPath$");
-
 int
 strcasecmp(const char *s1, const char *s2)
 {
index 3a56a18f54e70161e725e52ab466eb6c18f500f3..d5984ea0351e733a664494dc03435715aeb8dd94 100644 (file)
@@ -61,7 +61,7 @@ int strncasecmp(const char *s1, const char *s2, size_t n);
 #ifdef __RCSID
 # define RCSID(s)      __RCSID(s)
 #else
-# define RCSID(s)      static const char rcsid[] = s;
+# define RCSID(s)      static const char rcsid[] = s
 #endif
 
 #endif
index 56ff90b0114375587e4f4de94abfd0eb96fa5580..b0aa443cd168bfce44a68f18b6afa4b7556ee59f 100644 (file)
@@ -36,6 +36,8 @@
 
 #include "util.h"
 
+RCSID("$IdPath$");
+
 #ifdef USE_OUR_OWN_STRCASECMP
 
 #if defined(LIBC_SCCS) && !defined(lint)
@@ -47,8 +49,6 @@ static char sccsid[] = "@(#)strcasecmp.c      8.1 (Berkeley) 6/4/93";
 # include <ctype.h>
 #endif
 
-RCSID("$IdPath$");
-
 int
 strcasecmp(const char *s1, const char *s2)
 {
index 3a56a18f54e70161e725e52ab466eb6c18f500f3..d5984ea0351e733a664494dc03435715aeb8dd94 100644 (file)
@@ -61,7 +61,7 @@ int strncasecmp(const char *s1, const char *s2, size_t n);
 #ifdef __RCSID
 # define RCSID(s)      __RCSID(s)
 #else
-# define RCSID(s)      static const char rcsid[] = s;
+# define RCSID(s)      static const char rcsid[] = s
 #endif
 
 #endif
diff --git a/util.h b/util.h
index 3a56a18f54e70161e725e52ab466eb6c18f500f3..d5984ea0351e733a664494dc03435715aeb8dd94 100644 (file)
--- a/util.h
+++ b/util.h
@@ -61,7 +61,7 @@ int strncasecmp(const char *s1, const char *s2, size_t n);
 #ifdef __RCSID
 # define RCSID(s)      __RCSID(s)
 #else
-# define RCSID(s)      static const char rcsid[] = s;
+# define RCSID(s)      static const char rcsid[] = s
 #endif
 
 #endif