aboutsummaryrefslogtreecommitdiff
path: root/trayfreq.c
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-06-05 17:49:36 +1200
committerDavid <dbphillipsnz@gmail.com>2014-06-06 20:31:40 +1200
commit2244ff66ff8dfe5352c5ab850a99d06648a14a6b (patch)
tree002ef198ce274045172344c1e58b86900967abb8 /trayfreq.c
parentef004666027cd8fc3854ced9f126ae3ab0ce28f9 (diff)
downloadparamano-2244ff66ff8dfe5352c5ab850a99d06648a14a6b.tar.xz
Clean-ups
Diffstat (limited to 'trayfreq.c')
-rw-r--r--trayfreq.c20
1 files changed, 14 insertions, 6 deletions
diff --git a/trayfreq.c b/trayfreq.c
index 8433bba..49c1c5a 100644
--- a/trayfreq.c
+++ b/trayfreq.c
@@ -29,13 +29,17 @@
#include "common.h"
#include <gtk/gtk.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <stdio.h>
-#include <libintl.h>
-#include <locale.h>
-#include <string.h>
+#include <unistd.h> // getuid, getgid
+#include <stdio.h> // printf, FILE, fopen, etc
+#include <string.h> // strlen
+
+#include <libintl.h> // gettext
+#include <locale.h> // LC_ALL etc
+
+/***********************************************************************
+ * Main
+ **********************************************************************/
int main(int argc, char** argv)
{
setlocale(LC_ALL, "");
@@ -81,6 +85,10 @@ int main(int argc, char** argv)
return 0;
}
+
+/***********************************************************************
+ * Load config
+ **********************************************************************/
void config_init()
{
struct config_file config;