From 4ec5aa223ec7c1e727ea2497936cbab5e3e57463 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 30 Apr 2014 13:07:39 +1200 Subject: General tidy-up --- freq_tray/getcore.h | 4 ++-- freq_tray/getfreq.c | 1 - freq_tray/getfreq.h | 14 +++++++------- freq_tray/getgov.h | 10 +++++----- 4 files changed, 14 insertions(+), 15 deletions(-) (limited to 'freq_tray') 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 @@ * . * ************************************************************************/ -#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 -- cgit v1.1