aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-05 10:26:29 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-10-05 10:26:29 -0700
commit53cea63e99264bf81b278546581d6c2efc2c3fc5 (patch)
tree41af71142e6d39181027ce01d9514a2a69ebaf30 /sysdeps/mach
parent1d1b34df90b1c20ed0c56162e31e912c5b931af2 (diff)
downloadglibc-53cea63e99264bf81b278546581d6c2efc2c3fc5.zip
glibc-53cea63e99264bf81b278546581d6c2efc2c3fc5.tar.gz
glibc-53cea63e99264bf81b278546581d6c2efc2c3fc5.tar.bz2
Move _dl_important_hwcaps to dl-hwcaps.c
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 13b0010..fad388b 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -646,26 +646,6 @@ _dl_show_auxv (void)
}
-/* Return an array of useful/necessary hardware capability names. */
-const struct r_strlenpair *
-internal_function
-_dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
- size_t *max_capstrlen)
-{
- struct r_strlenpair *result;
-
- /* Return an empty array. Hurd has no hardware capabilities. */
- result = (struct r_strlenpair *) malloc (sizeof (*result));
- if (result == NULL)
- _dl_signal_error (ENOMEM, NULL, NULL, "cannot create capability list");
-
- result[0].str = (char *) result; /* Does not really matter. */
- result[0].len = 0;
-
- *sz = 1;
- return result;
-}
-
void weak_function
_dl_init_first (int argc, ...)
{