summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-10-05 06:05:20 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-10-05 06:05:20 +0000
commit1ccdcbff40a62554c860446eb5f9e37bf1460f90 (patch)
treec65c709f8e31ace4218418974b74b9438d362302 /lib
parent021196e07a707bcf33b3d03b8e59e3550b684653 (diff)
downloadcoreutils-1ccdcbff40a62554c860446eb5f9e37bf1460f90.tar.xz
Sync from gnulib.
Diffstat (limited to 'lib')
-rw-r--r--lib/error.c2
-rw-r--r--lib/md5.c2
-rw-r--r--lib/regex.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/error.c b/lib/error.c
index 94e32fd82..9bb3e558c 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -40,7 +40,7 @@
# define mbsrtowcs __mbsrtowcs
#endif
-#ifdef USE_UNLOCKED_IO
+#if USE_UNLOCKED_IO
# include "unlocked-io.h"
#endif
diff --git a/lib/md5.c b/lib/md5.c
index 39d2bb4e5..999e25ef3 100644
--- 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
diff --git a/lib/regex.c b/lib/regex.c
index 45db40e9f..d3840704a 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -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;
}