summaryrefslogtreecommitdiffhomepage
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-08-29 19:41:06 +0000
committerRob Landley <rob@landley.net>2006-08-29 19:41:06 +0000
commit88621d73980a3cb53c1f35e64a06d7cd64188987 (patch)
treec0398d52bf44783d2dc330b4b33a908a58d2d55b /modutils/insmod.c
parent8c1eda528a19b8af18568649e8d2b1ba5bda772e (diff)
Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damage
(the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index e09275e11..3aabadd26 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -1945,7 +1945,7 @@ static void arch_create_got(struct obj_file *f)
/*======================================================================*/
/* Standard ELF hash function. */
-static inline unsigned long obj_elf_hash_n(const char *name, unsigned long n)
+static unsigned long obj_elf_hash_n(const char *name, unsigned long n)
{
unsigned long h = 0;
unsigned long g;