aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-addr.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2011-12-23 11:19:53 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-23 11:19:53 -0500
commit2b2596b1e94d9d51bd8febe81b759fa45a62e3cb (patch)
tree19c383c69d5cbb15696f0e8740703ad562abb888 /elf/dl-addr.c
parentaebefeee8fb62e2bbc5f4fa4f6345a2a3c8e857a (diff)
downloadglibc-2b2596b1e94d9d51bd8febe81b759fa45a62e3cb.tar
glibc-2b2596b1e94d9d51bd8febe81b759fa45a62e3cb.tar.gz
glibc-2b2596b1e94d9d51bd8febe81b759fa45a62e3cb.tar.bz2
glibc-2b2596b1e94d9d51bd8febe81b759fa45a62e3cb.zip
Add missing inline keyword
According to http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00608.html, a function without `inline' with an `always_inline' attribute is a bug.
Diffstat (limited to 'elf/dl-addr.c')
-rw-r--r--elf/dl-addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-addr.c b/elf/dl-addr.c
index 2b53a5ed09..788225635e 100644
--- a/elf/dl-addr.c
+++ b/elf/dl-addr.c
@@ -1,5 +1,5 @@
/* Locate the shared object symbol nearest a given address.
- Copyright (C) 1996-2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1996-2007, 2009, 2011 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
@@ -22,7 +22,7 @@
#include <ldsodefs.h>
-static void
+static inline void
__attribute ((always_inline))
determine_info (const ElfW(Addr) addr, struct link_map *match, Dl_info *info,
struct link_map **mapp, const ElfW(Sym) **symbolp)