+2003-06-23 Bruno Haible <bruno@clisp.org>
+
+ Avoid compilation units that are empty after preprocessing.
+ * canonicalize.c: Add dummy declaration.
+ * strerror.c: Likewise.
+ * strtoul.c: Likewise.
+ * error.c: Include <stdio.h> even if there's nothing to be compiled.
+
2003-06-22 Bruno Haible <bruno@clisp.org>
Portability to mingw32.
}
weak_alias (__canonicalize_file_name, canonicalize_file_name)
+#else
+
+/* This declaration is solely to ensure that after preprocessing
+ this file is never empty. */
+typedef int dummy;
+
#endif
# include <config.h>
#endif
-#if !HAVE_ERROR_AT_LINE
-
#include <stdio.h>
+#if !HAVE_ERROR_AT_LINE
+
#ifdef _LIBC
# include <libintl.h>
#else
return sys_errlist[n];
}
+#else
+
+/* This declaration is solely to ensure that after preprocessing
+ this file is never empty. */
+typedef int dummy;
+
#endif
-/* Copyright (C) 1991, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1997, 2002-2003 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@gnu.org.
# include <strtol.c>
+#else
+
+/* This declaration is solely to ensure that after preprocessing
+ this file is never empty. */
+typedef int dummy;
+
#endif