Sync from gnulib.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Oct 2004 06:05:20 +0000 (06:05 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Oct 2004 06:05:20 +0000 (06:05 +0000)
lib/error.c
lib/md5.c
lib/regex.c

index 94e32fd..9bb3e55 100644 (file)
@@ -40,7 +40,7 @@
 # define mbsrtowcs __mbsrtowcs
 #endif
 
-#ifdef USE_UNLOCKED_IO
+#if USE_UNLOCKED_IO
 # include "unlocked-io.h"
 #endif
 
index 39d2bb4..999e25e 100644 (file)
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -29,7 +29,7 @@
 #include <stddef.h>
 #include <string.h>
 
-#ifdef USE_UNLOCKED_IO
+#if USE_UNLOCKED_IO
 # include "unlocked-io.h"
 #endif
 
index 45db40e..d384070 100644 (file)
@@ -584,7 +584,7 @@ typedef enum
 # endif
 #endif
 
-#ifdef USE_UNLOCKED_IO
+#if USE_UNLOCKED_IO
 # include "unlocked-io.h"
 #endif
 
@@ -7909,7 +7909,7 @@ re_comp (const char *s)
   if (!s)
     {
       if (!re_comp_buf.buffer)
-       return gettext ("No previous regular expression");
+       return (char *) gettext ("No previous regular expression");
       return 0;
     }