aboutsummaryrefslogtreecommitdiff
path: root/trayfreq.c
diff options
context:
space:
mode:
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;