Clean 'no previous prototype' warning
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 2 Dec 2011 11:53:31 +0000 (09:53 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 2 Dec 2011 11:53:31 +0000 (09:53 -0200)
libkmod/libkmod.c

index 4b05788..df75e70 100644 (file)
@@ -268,7 +268,8 @@ KMOD_EXPORT void kmod_set_log_priority(struct kmod_ctx *ctx, int priority)
 }
 
 
-int kmod_lookup_alias_from_alias_bin(struct kmod_ctx *ctx, const char *file,
+static int kmod_lookup_alias_from_alias_bin(struct kmod_ctx *ctx,
+                                               const char *file,
                                                const char *name,
                                                struct kmod_list **list)
 {