aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-09-16 12:18:25 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-09-16 12:18:25 +1200
commitcc61bfa71b1f72049970dd119ec14d9ac108a1ef (patch)
tree32f4c4b5b43db6b09ccfa155885c53f3046f60a7
parent972b1a1b0fe2dff12cfd8cc6874bfa398c1a58b5 (diff)
downloadparamano-cc61bfa71b1f72049970dd119ec14d9ac108a1ef.tar.xz
Removed unneeded include guards
-rw-r--r--bat_tray.h5
-rw-r--r--common.h4
-rw-r--r--config_file.h5
-rw-r--r--defaults.h5
-rw-r--r--getcore.h5
-rw-r--r--getfreq.h5
-rw-r--r--getgov.h5
-rw-r--r--paramano.h5
-rw-r--r--paramano_set_interface.h5
-rw-r--r--tray.h5
10 files changed, 0 insertions, 49 deletions
diff --git a/bat_tray.h b/bat_tray.h
index 78ba8ff..78e8970 100644
--- a/bat_tray.h
+++ b/bat_tray.h
@@ -16,9 +16,6 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef BAT_TRAY_H
-#define BAT_TRAY_H
-
#define STATE_CHARGING 0
#define STATE_DISCHARGING 1
#define STATE_CHARGED 2
@@ -30,5 +27,3 @@ void bat_tray_show();
void bat_tray_hide();
int get_battery_state();
int get_bat_num();
-
-#endif /* ifndef BAT_TRAY_H */
diff --git a/common.h b/common.h
index b672e0d..26f5818 100644
--- a/common.h
+++ b/common.h
@@ -16,9 +16,6 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef COMMON_H
-#define COMMON_H
-
#include <stdarg.h>
int get_int_value_from_filef(const char* format, ...);
@@ -35,4 +32,3 @@ int get_int(const char* string);
#define info(...) printf("INFO: "__FILE__":"STR_LINE" --- "__VA_ARGS__)
#define FILE_PATH_SIZE 2048
-#endif /* ifndef COMMON_H */
diff --git a/config_file.h b/config_file.h
index c9d964a..736397d 100644
--- a/config_file.h
+++ b/config_file.h
@@ -16,9 +16,6 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef CONFIG_FILE_H
-#define CONFIG_FILE_H
-
#include <glib.h>
#include <gtk/gtk.h>
@@ -31,5 +28,3 @@ struct config_file
gboolean config_open(struct config_file* config_file);
void config_close(struct config_file* config_file);
gchar* config_get_key(struct config_file* config_file, const gchar* group_name, const gchar* key_name);
-
-#endif /* ifndef CONFIG_FILE_H */
diff --git a/defaults.h b/defaults.h
index 2a4515b..0dda432 100644
--- a/defaults.h
+++ b/defaults.h
@@ -16,9 +16,6 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef DEFAULTS_H
-#define DEFAULTS_H
-
#include <stdbool.h>
char* DEFAULT_GOV;
@@ -31,5 +28,3 @@ char DEFAULT_THEME[1024];
void defaults_init();
-
-#endif /* ifndef DEFAULTS_H */
diff --git a/getcore.h b/getcore.h
index ecdca9d..5dc7c9b 100644
--- a/getcore.h
+++ b/getcore.h
@@ -16,10 +16,5 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef GETCORE_H
-#define GETCORE_H
-
void gc_init();
unsigned int gc_number();
-
-#endif /* ifndef GETCORE_H */
diff --git a/getfreq.h b/getfreq.h
index f13a9e9..00a428f 100644
--- a/getfreq.h
+++ b/getfreq.h
@@ -16,9 +16,6 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef GETFREQ_H
-#define GETFREQ_H
-
#include <stddef.h>
void gf_init();
@@ -28,5 +25,3 @@ void gf_get_frequency_label(char* buffer, size_t max_size, int freq);
char* gf_freqa(int core, int index);
int gf_freqi(int core, int index);
unsigned int gf_number();
-
-#endif /* ifndef GETFREQ_H */
diff --git a/getgov.h b/getgov.h
index 5a5d8d8..2427155 100644
--- a/getgov.h
+++ b/getgov.h
@@ -16,9 +16,6 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef GETGOV_H
-#define GETGOV_H
-
#include <stdbool.h>
void gg_init();
@@ -26,5 +23,3 @@ bool gg_current(int core, char* out, int size);
bool gg_available(int core, char* out, int size);
char* gg_gov(int core, int index);
unsigned int gg_number();
-
-#endif /* ifndef GETGOV_H */
diff --git a/paramano.h b/paramano.h
index 5227aa0..e23fac5 100644
--- a/paramano.h
+++ b/paramano.h
@@ -16,9 +16,4 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef PARAMANO_H
-#define PARAMANO_H
-
void config_init();
-
-#endif /* ifndef PARAMANO_H */
diff --git a/paramano_set_interface.h b/paramano_set_interface.h
index d533285..a3f27cb 100644
--- a/paramano_set_interface.h
+++ b/paramano_set_interface.h
@@ -16,10 +16,5 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef PARAMANO_SET_INTERFACE_H
-#define PARAMANO_SET_INTERFACE_H
-
void si_gov(char* gov, int core);
void si_freq(int freq, int core);
-
-#endif /* ifndef PARAMANO_SET_INTERFACE_H */
diff --git a/tray.h b/tray.h
index 3c519a6..6cf456c 100644
--- a/tray.h
+++ b/tray.h
@@ -16,9 +16,6 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
-#ifndef TRAY_H
-#define TRAY_H
-
#include <stdbool.h>
void tray_set_defaults();
@@ -27,5 +24,3 @@ void tray_show();
void tray_hide();
bool tray_visible();
bool tray_embedded();
-
-#endif /* ifndef TRAY_H */