Include unlocked-io.h.
[gnulib.git] / lib / version-etc.c
index ba04db4..5b70616 100644 (file)
@@ -22,6 +22,7 @@
 #endif
 
 #include <stdio.h>
+#include "unlocked-io.h"
 #include "version-etc.h"
 
 #if ENABLE_NLS
 #else
 # define _(Text) Text
 #endif
-#define N_(Text) Text
 
 /* Default copyright goes to the FSF. */
 
-char* version_etc_copyright_fmt =
-  N_("Copyright (C) %s Free Software Foundation, Inc.");
+char* version_etc_copyright =
+  /* Do *not* mark this string for translation.  */
+  "Copyright (C) 2001 Free Software Foundation, Inc.";
 
-#define COPYRIGHT_YEAR "2001"
 
 /* Display the --version information the standard way.
 
@@ -61,7 +61,7 @@ version_etc (FILE *stream,
   fprintf (stream, _("Written by %s.\n"), authors);
   putc ('\n', stream);
 
-  fprintf (stream, _(version_etc_copyright_fmt), COPYRIGHT_YEAR);
+  fputs (version_etc_copyright, stream);
   putc ('\n', stream);
 
   fputs (_("\