aboutsummaryrefslogtreecommitdiff
path: root/freq_tray
diff options
context:
space:
mode:
Diffstat (limited to 'freq_tray')
-rw-r--r--freq_tray/getcore.h4
-rw-r--r--freq_tray/getfreq.c1
-rw-r--r--freq_tray/getfreq.h14
-rw-r--r--freq_tray/getgov.h10
4 files changed, 14 insertions, 15 deletions
diff --git a/freq_tray/getcore.h b/freq_tray/getcore.h
index 541d789..fc1fc8d 100644
--- a/freq_tray/getcore.h
+++ b/freq_tray/getcore.h
@@ -17,9 +17,9 @@
************************************************************************/
#ifndef GETCORE_H
-#define GETCORE_H 1
+#define GETCORE_H
void gc_init();
-int gc_number();
+int gc_number();
#endif
diff --git a/freq_tray/getfreq.c b/freq_tray/getfreq.c
index 7ac2181..02970b4 100644
--- a/freq_tray/getfreq.c
+++ b/freq_tray/getfreq.c
@@ -16,7 +16,6 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#include "string.h"
#include "getfreq.h"
#include "getcore.h"
#include "math.h"
diff --git a/freq_tray/getfreq.h b/freq_tray/getfreq.h
index a1cbd92..8df9eca 100644
--- a/freq_tray/getfreq.h
+++ b/freq_tray/getfreq.h
@@ -17,15 +17,15 @@
************************************************************************/
#ifndef GETFREQ_H
-#define GETFREQ_H 1
+#define GETFREQ_H
-void gf_init();
-int gf_current(int core);
-int gf_available(int core, char* out, int size);
-void gf_get_frequency_label(int freq, char* out);
+void gf_init();
+int gf_current(int core);
+int gf_available(int core, char* out, int size);
+void gf_get_frequency_label(int freq, char* out);
char* gf_freqa(int core, int index);
-int gf_freqi(int core, int index);
-int gf_number();
+int gf_freqi(int core, int index);
+int gf_number();
#endif
diff --git a/freq_tray/getgov.h b/freq_tray/getgov.h
index b4fdc29..fca341d 100644
--- a/freq_tray/getgov.h
+++ b/freq_tray/getgov.h
@@ -17,12 +17,12 @@
************************************************************************/
#ifndef GETGOV_H
-#define GETGOV_H 1
+#define GETGOV_H
-void gg_init();
-int gg_current(int core, char* out, int size);
-int gg_available(int core, char* out, int size);
+void gg_init();
+int gg_current(int core, char* out, int size);
+int gg_available(int core, char* out, int size);
char* gg_gov(int core, int index);
-int gg_number();
+int gg_number();
#endif