about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-05-11 11:41:35 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-14 16:10:12 -0700
commitceb809dcae3da4464ea7d34c3d6e01ba1aa2e3d8 (patch)
treea05764e249ec74bb8b44831fe953a9ded628488c /sysdeps
parent144c5467725f0868fadbdd236d67ee5b1df2fb45 (diff)
downloadglibc-ceb809dcae3da4464ea7d34c3d6e01ba1aa2e3d8.tar.gz
glibc-ceb809dcae3da4464ea7d34c3d6e01ba1aa2e3d8.tar.xz
glibc-ceb809dcae3da4464ea7d34c3d6e01ba1aa2e3d8.zip
Use _dl_fatal_printf instead of a private variant.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/dl-osinfo.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h
index d0f41a7b2c..82d6e22ae9 100644
--- a/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -1,5 +1,5 @@
 /* Operating system specific code for generic dynamic loader functions.  Linux.
-   Copyright (C) 2000-2002,2004-2009,2011 Free Software Foundation, Inc.
+   Copyright (C) 2000-2012 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
@@ -27,18 +27,6 @@
 # define MIN(a,b) (((a)<(b))?(a):(b))
 #endif
 
-#ifdef SHARED
-/* This is the function used in the dynamic linker to print the fatal error
-   message.  */
-static void
-__attribute__ ((__noreturn__))
-dl_fatal (const char *str)
-{
-  _dl_dprintf (2, str);
-  _exit (1);
-}
-#endif
-
 #define DL_SYSDEP_OSCHECK(FATAL)					      \
   do {									      \
     /* Test whether the kernel is new enough.  This test is only performed    \