aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
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 /sysklogd
parent8c1eda528a19b8af18568649e8d2b1ba5bda772e (diff)
downloadbusybox-w32-88621d73980a3cb53c1f35e64a06d7cd64188987.tar.gz
busybox-w32-88621d73980a3cb53c1f35e64a06d7cd64188987.tar.bz2
busybox-w32-88621d73980a3cb53c1f35e64a06d7cd64188987.zip
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 'sysklogd')
-rw-r--r--sysklogd/logread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 40a12e066..9cc6561a4 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -46,7 +46,7 @@ static void interrupted(int sig);
46/* 46/*
47 * sem_up - up()'s a semaphore. 47 * sem_up - up()'s a semaphore.
48 */ 48 */
49static inline void sem_up(int semid) 49static void sem_up(int semid)
50{ 50{
51 if ( semop(semid, SMrup, 1) == -1 ) 51 if ( semop(semid, SMrup, 1) == -1 )
52 error_exit("semop[SMrup]"); 52 error_exit("semop[SMrup]");
@@ -55,7 +55,7 @@ static inline void sem_up(int semid)
55/* 55/*
56 * sem_down - down()'s a semaphore 56 * sem_down - down()'s a semaphore
57 */ 57 */
58static inline void sem_down(int semid) 58static void sem_down(int semid)
59{ 59{
60 if ( semop(semid, SMrdn, 2) == -1 ) 60 if ( semop(semid, SMrdn, 2) == -1 )
61 error_exit("semop[SMrdn]"); 61 error_exit("semop[SMrdn]");