Whamcloud - gitweb
Use inline instead of __inline__ in the blkid debugging code for
authorTheodore Ts'o <tytso@mit.edu>
Fri, 4 Feb 2005 03:09:49 +0000 (22:09 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 4 Feb 2005 03:09:49 +0000 (22:09 -0500)
Solaris compatibility.

lib/blkid/blkidP.h

index db23c2b..1bb9490 100644 (file)
@@ -148,7 +148,7 @@ extern int  blkid_debug_mask;
 #endif
 
 #ifdef CONFIG_BLKID_DEBUG
-static __inline__ void DEB_DUMP_TAG(int mask, blkid_tag tag)
+static inline void DEB_DUMP_TAG(int mask, blkid_tag tag)
 {
        if (!(mask & blkid_debug_mask))
                return;
@@ -161,7 +161,7 @@ static __inline__ void DEB_DUMP_TAG(int mask, blkid_tag tag)
        printf("    tag: %s=\"%s\"\n", tag->bit_name, tag->bit_val);
 }
 
-static __inline__ void DEB_DUMP_DEV(int mask, blkid_dev dev)
+static inline void DEB_DUMP_DEV(int mask, blkid_dev dev)
 {
        struct list_head *p;
 
@@ -186,7 +186,7 @@ static __inline__ void DEB_DUMP_DEV(int mask, blkid_dev dev)
        printf("\n");
 }
 
-static __inline__ void DEB_DUMP_CACHE(int mask, blkid_cache cache)
+static inline void DEB_DUMP_CACHE(int mask, blkid_cache cache)
 {
        struct list_head *p;