mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
ce563359af
* 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.
45 lines
1.5 KiB
C
45 lines
1.5 KiB
C
/* 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
|
||
modify it under the terms of the GNU Library General Public License as
|
||
published by the Free Software Foundation; either version 2 of the
|
||
License, or (at your option) any later version.
|
||
|
||
The GNU C Library is distributed in the hope that it will be useful,
|
||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
Library General Public License for more details.
|
||
|
||
You should have received a copy of the GNU Library General Public
|
||
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 <stdio.h>
|
||
|
||
#include "version.h"
|
||
const char __libc_release[] = RELEASE;
|
||
const char __libc_version[] = VERSION;
|
||
|
||
void
|
||
__libc_print_version (void)
|
||
{
|
||
printf ("GNU C Library %s release version %s, by Roland McGrath et al.\n",
|
||
__libc_release, __libc_version);
|
||
#ifdef __VERSION__
|
||
printf ("Compiled by GNU CC version %s.\n", __VERSION__);
|
||
#endif
|
||
puts ("\
|
||
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.");
|
||
}
|
||
|
||
/*
|
||
Local Variables:
|
||
version-control: never
|
||
End:
|
||
*/
|