comparison lib/obstack.c @ 3280:7fed086612ed

update from libc
author Jim Meyering <jim@meyering.net>
date Mon, 18 Jun 2001 08:01:38 +0000
parents 9c55c384b97b
children a3e558e29878
comparison
equal deleted inserted replaced
3279:88f18cf00605 3280:7fed086612ed
1 /* obstack.c - subroutines used implicitly by object stack macros 1 /* obstack.c - subroutines used implicitly by object stack macros
2 Copyright (C) 1988-1994,96,97,98,99,2000 Free Software Foundation, Inc. 2 Copyright (C) 1988-1994,96,97,98,99,2000,2001 Free Software Foundation, Inc.
3 3
4 This file is part of the GNU C Library. Its master source is NOT part of 4 This file is part of the GNU C Library. Its master source is NOT part of
5 the C library, however. The master source lives in /gd/gnu/lib. 5 the C library, however. The master source lives in /gd/gnu/lib.
6 6
7 The GNU C Library is free software; you can redistribute it and/or 7 The GNU C Library is free software; you can redistribute it and/or
470 # include <libio/iolibio.h> 470 # include <libio/iolibio.h>
471 # define fputs(s, f) _IO_fputs (s, f) 471 # define fputs(s, f) _IO_fputs (s, f)
472 # endif 472 # endif
473 473
474 static void 474 static void
475 __attribute__ ((noreturn))
475 print_and_abort () 476 print_and_abort ()
476 { 477 {
477 fputs (_("memory exhausted"), stderr); 478 fputs (_("memory exhausted"), stderr);
478 fputc ('\n', stderr); 479 fputc ('\n', stderr);
479 exit (obstack_exit_failure); 480 exit (obstack_exit_failure);