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).
This commit is contained in:
@@ -46,7 +46,7 @@ static void interrupted(int sig);
|
||||
/*
|
||||
* sem_up - up()'s a semaphore.
|
||||
*/
|
||||
static inline void sem_up(int semid)
|
||||
static void sem_up(int semid)
|
||||
{
|
||||
if ( semop(semid, SMrup, 1) == -1 )
|
||||
error_exit("semop[SMrup]");
|
||||
@@ -55,7 +55,7 @@ static inline void sem_up(int semid)
|
||||
/*
|
||||
* sem_down - down()'s a semaphore
|
||||
*/
|
||||
static inline void sem_down(int semid)
|
||||
static void sem_down(int semid)
|
||||
{
|
||||
if ( semop(semid, SMrdn, 2) == -1 )
|
||||
error_exit("semop[SMrdn]");
|
||||
|
Reference in New Issue
Block a user