Use static for static variables. This fixes gcc4 build.

This commit is contained in:
delphij 2005-05-02 14:18:08 +00:00
parent bdccdc2553
commit c826406ea6

View File

@ -59,9 +59,8 @@ typedef struct _dist {
} my_data; } my_data;
} Distribution; } Distribution;
extern Distribution DistTable[]; static Distribution SrcDistTable[];
extern Distribution SrcDistTable[]; static Distribution XOrgDistTable[];
extern Distribution XOrgDistTable[];
#define DTE_TARBALL(name, mask, flag, directory) \ #define DTE_TARBALL(name, mask, flag, directory) \
{ name, mask, DIST_ ## flag, DT_TARBALL, { directory } } { name, mask, DIST_ ## flag, DT_TARBALL, { directory } }