aboutsummaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-03-21 15:20:37 +0000
committerRoland McGrath <roland@gnu.org>1996-03-21 15:20:37 +0000
commitce563359aff66775c71c3e84e7d06a69c199eac0 (patch)
tree5d131b8826fba365414fafd25ee7d61eaba7ef0b /version.c
parent38bb44bc19539b14a22a2e931c001c58b6cb1b95 (diff)
downloadglibc-ce563359aff66775c71c3e84e7d06a69c199eac0.tar
glibc-ce563359aff66775c71c3e84e7d06a69c199eac0.tar.gz
glibc-ce563359aff66775c71c3e84e7d06a69c199eac0.tar.bz2
glibc-ce563359aff66775c71c3e84e7d06a69c199eac0.zip
Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* stdio-common/printf.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c: Place const in parameter list at correct place. Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu> * sysdeps/i386/ldbl2mpn.c: Copy of former version of sysdeps/ieee754/ldbl2mpn.c. * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification. Reported by Andreas Schwab. Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> * version.c: Include version.h to define RELEASE and VERSION macros. (__libc_release, __libc_version): Use them. * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and use VERSION to define domainname as `SYS_GNU_libc-VERSION'. * Make-dist (rel+vers): Snarf the macro values from version.h. * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)). (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables; pass -a for these files. * Makerules (po/%.pot): Depend on FORCE target so recursive make is always run.
Diffstat (limited to 'version.c')
-rw-r--r--version.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/version.c b/version.c
index 4ef29e4906..3405ed5a68 100644
--- a/version.c
+++ b/version.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -16,14 +16,14 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#include <ansidecl.h>
#include <stdio.h>
-CONST char __libc_release[] = "alpha";
-CONST char __libc_version[] = "1.09.7";
+#include "version.h"
+const char __libc_release[] = RELEASE;
+const char __libc_version[] = VERSION;
void
-DEFUN_VOID(__libc_print_version)
+__libc_print_version (void)
{
printf ("GNU C Library %s release version %s, by Roland McGrath et al.\n",
__libc_release, __libc_version);
@@ -31,7 +31,7 @@ DEFUN_VOID(__libc_print_version)
printf ("Compiled by GNU CC version %s.\n", __VERSION__);
#endif
puts ("\
-Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.\n\
+Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions.\n\
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n\
PARTICULAR PURPOSE.");