summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.topdeps2
-rw-r--r--.topmsg17
-rw-r--r--sysdeps/mach/hurd/pt-sysdep.h4
3 files changed, 8 insertions, 15 deletions
diff --git a/.topdeps b/.topdeps
index 17c6c67..180b47c 100644
--- a/.topdeps
+++ b/.topdeps
@@ -1 +1 @@
-640cfa0a4af3dc399bff496fd94081a99dbbcdd2
+baseline
diff --git a/.topmsg b/.topmsg
index 6669004..d2d5b17 100644
--- a/.topmsg
+++ b/.topmsg
@@ -1,14 +1,7 @@
-Subject: Baseline for our topic branches.
+Subject: [PATCH] Fix inline usage for recent GCC versions.
----
+From: Thomas Schwinge <thomas@schwinge.name>
-This need not strictly be a TopGit branch, but it is for easy synchronization
-between different machines.
-
-As the baseline is merged into the topic branches, it is forward-only.
-
-To advance it:
-
- $ echo [SHA1] > .topdeps
- $ git commit -m Advance. -- .topdeps
- $ tg update
+* sysdeps/l4/hurd/pt-sysdep.h (_pthread_self, __pthread_stack_dealloc): Use
+static inline instead of extern inline.
+* sysdeps/mach/hurd/pt-sysdep.h (__pthread_stack_dealloc): Likewise.
diff --git a/sysdeps/mach/hurd/pt-sysdep.h b/sysdeps/mach/hurd/pt-sysdep.h
index bec1b40..b54f1cf 100644
--- a/sysdeps/mach/hurd/pt-sysdep.h
+++ b/sysdeps/mach/hurd/pt-sysdep.h
@@ -1,5 +1,5 @@
/* Internal defenitions for pthreads library.
- Copyright (C) 2000, 2002, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2007, 2008, 2009 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
@@ -51,7 +51,7 @@ extern __thread struct __pthread *___pthread_self;
thread; \
})
-extern inline void
+static inline void
__attribute__((__always_inline__))
__pthread_stack_dealloc (void *stackaddr, size_t stacksize)
{