modpost: move struct namespace_list to modpost.c
[linux-block.git] / scripts / mod / modpost.c
index f9cbb6b6b7a5069f28dad102e49f0aca4e53a2c1..689a342298091de175cef5a6c33d885f3e75c70b 100644 (file)
@@ -270,6 +270,11 @@ static struct symbol *find_symbol(const char *name)
        return NULL;
 }
 
+struct namespace_list {
+       struct namespace_list *next;
+       char namespace[];
+};
+
 static bool contains_namespace(struct namespace_list *list,
                               const char *namespace)
 {