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:
Rob Landley
2006-08-29 19:41:06 +00:00
parent 8c1eda528a
commit 88621d7398
14 changed files with 92 additions and 124 deletions

View File

@@ -247,7 +247,7 @@ static void recursive_check(unsigned int ino);
static void recursive_check2(unsigned int ino);
#endif
static inline int bit(char *a, unsigned int i)
static int bit(char *a, unsigned int i)
{
return (a[i >> 3] & (1<<(i & 7))) != 0;
}
@@ -282,7 +282,7 @@ static char *name_component[MAX_DEPTH+1];
/* Wed Feb 9 15:17:06 MST 2000 */
/* dynamically allocate name_list (instead of making it static) */
static inline void alloc_current_name(void)
static void alloc_current_name(void)
{
current_name = xmalloc(MAX_DEPTH * (BUFSIZ + 1));
current_name[0] = '/';
@@ -293,7 +293,7 @@ static inline void alloc_current_name(void)
#ifdef CONFIG_FEATURE_CLEAN_UP
/* execute this atexit() to deallocate name_list[] */
/* piptigger was here */
static inline void free_current_name(void)
static void free_current_name(void)
{
free(current_name);
}