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-05 17:49:36 +1200
commitf33d490cc017c0a4915bb2ec175df0238702442b (patch)
tree62c19cd0b68f6d5bfd9a3105858d85b84b88b44a /trayfreq.c
parent66e266956c51be09cfc9a8c30c74d1ce80b834e0 (diff)
downloadparamano-f33d490cc017c0a4915bb2ec175df0238702442b.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;