Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalwareutils.git;a=commitdiff;h=b25811665f7c8aa60cd574e58d3bf4dc0ed831be
commit b25811665f7c8aa60cd574e58d3bf4dc0ed831be Author: James Buren <[email protected]> Date: Thu Mar 8 04:56:25 2012 -0600 set all timeconfig objects as static, except the one required by dlopen diff --git a/timeconfig/timeconfig.c b/timeconfig/timeconfig.c index c114680..c57479b 100644 --- a/timeconfig/timeconfig.c +++ b/timeconfig/timeconfig.c @@ -37,6 +37,7 @@ GList *zones=NULL; +static char* ask_mode() { char *modes[] = @@ -56,11 +57,13 @@ char* ask_mode() return(ptr); } +static int sort_zones(gconstpointer a, gconstpointer b) { return(strcmp(a, b)); } +static GList *zone_scan(char *dir) { GList *buf=NULL; @@ -83,6 +86,7 @@ GList *zone_scan(char *dir) // feel free to suggest a better default for English, i just took the first // item for now +static char *ask_zone(GList *zones) { char **zonestrs = fwdialog_glist(zones); @@ -101,6 +105,7 @@ char *ask_zone(GList *zones) return(ptr); } +static int run(int argc, char **argv) { FILE *input = stdin; @@ -140,6 +145,7 @@ int run(int argc, char **argv) return(0); } +static plugin_t plugin = { "timeconfig", _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
