From 06c93e875747f3020d997220b3e7c98083acc7c3 Mon Sep 17 00:00:00 2001 From: Pierre Peiffer Date: Sun, 3 Feb 2008 16:22:12 +0200 Subject: Remove one useless extern declaration The file exit.c contains one useless extern declaration of sem_exit(). Moreover, it refers to nothing. This trivial patch removes it. Signed-off-by: Pierre Peiffer Signed-off-by: Adrian Bunk --- kernel/exit.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'kernel') diff --git a/kernel/exit.c b/kernel/exit.c index bfb1c0e940e8..9e459fefda77 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -50,8 +50,6 @@ #include #include -extern void sem_exit (void); - static void exit_mm(struct task_struct * tsk); static void __unhash_process(struct task_struct *p) -- cgit v1.2.3-58-ga151 From 0b0a3e7b18b8d9894f3621672ac7bdc5320459c4 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Sun, 3 Feb 2008 17:48:04 +0200 Subject: kernel/: Spelling fixes Signed-off-by: Joe Perches Signed-off-by: Adrian Bunk --- kernel/posix-timers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel') diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c index 35b4bbfc78ff..36d563fd9e3b 100644 --- a/kernel/posix-timers.c +++ b/kernel/posix-timers.c @@ -493,7 +493,7 @@ sys_timer_create(const clockid_t which_clock, goto retry; else if (error) { /* - * Wierd looking, but we return EAGAIN if the IDR is + * Weird looking, but we return EAGAIN if the IDR is * full (proper POSIX return value for this) */ error = -EAGAIN; -- cgit v1.2.3-58-ga151