aboutsummaryrefslogtreecommitdiff
path: root/tests/hello-i386.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-01-17 20:26:30 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-01-17 20:26:30 +0000
commit4a6648f44eefbfbea38a1de56f8a8e44a8892941 (patch)
tree7c08329446b2ae1532227b9186bef7746d31b096 /tests/hello-i386.c
parent29718712eb2e53c09d28f08e39f6514d690f6fd3 (diff)
Replace 'extern inline' with 'static inline'
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tests/hello-i386.c')
-rw-r--r--tests/hello-i386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hello-i386.c b/tests/hello-i386.c
index e00245d3fe..86afc34fb1 100644
--- a/tests/hello-i386.c
+++ b/tests/hello-i386.c
@@ -1,6 +1,6 @@
#include <asm/unistd.h>
-extern inline volatile void exit(int status)
+static inline volatile void exit(int status)
{
int __res;
__asm__ volatile ("movl %%ecx,%%ebx\n"\
@@ -8,7 +8,7 @@ extern inline volatile void exit(int status)
: "=a" (__res) : "0" (__NR_exit),"c" ((long)(status)));
}
-extern inline int write(int fd, const char * buf, int len)
+static inline int write(int fd, const char * buf, int len)
{
int status;
__asm__ volatile ("pushl %%ebx\n"\