From: Duncan Mac-Vicar P Date: Tue, 6 May 2008 15:32:35 +0000 (+0000) Subject: warning X-Git-Tag: BASE-SuSE-Linux-11_0-Branch~117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9def0a67e3bdce80a0e565e03945f846b78e948f;p=platform%2Fupstream%2Flibzypp.git warning --- diff --git a/zypp/target/modalias/Modalias.cc b/zypp/target/modalias/Modalias.cc index 29a5784..8172a5a 100644 --- a/zypp/target/modalias/Modalias.cc +++ b/zypp/target/modalias/Modalias.cc @@ -42,6 +42,12 @@ namespace zypp /////////////////////////////////////////////////////////////////// namespace target { ///////////////////////////////////////////////////////////////// + +struct modalias_list { + char *modalias; + struct modalias_list *next; +}; + /////////////////////////////////////////////////////////////////// namespace { ///////////////////////////////////////////////////////////////// @@ -76,11 +82,6 @@ foreach_file(const char *path, int (*func)(const char *, const char *, void *), return ret; } -struct modalias_list { - char *modalias; - struct modalias_list *next; -}; - /* * If DIR/FILE/modalias exists, remember this modalias on the linked modalias list * passed in in ARG. Never returns an error.