diff options
author | Pablo Barciela <[email protected]> | 2019-11-27 09:25:50 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-12-04 14:55:43 +0100 |
commit | d3cae6249d156e847176d49897a49ca8a0a0c094 (patch) | |
tree | 611bb1e847511c2ecdd23bb3eea1a32ff58a5c7e /cpufreq/src | |
parent | cec742f132e318db1de4d01d841fea15238798c3 (diff) | |
download | mate-applets-d3cae6249d156e847176d49897a49ca8a0a0c094.tar.bz2 mate-applets-d3cae6249d156e847176d49897a49ca8a0a0c094.tar.xz |
avoid redundant redeclarations
Diffstat (limited to 'cpufreq/src')
-rw-r--r-- | cpufreq/src/cpufreq-applet.c | 3 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-monitor-cpuinfo.c | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-monitor-libcpufreq.c | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-monitor-procfs.c | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-monitor-sysfs.c | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-monitor.c | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-popup.c | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-prefs.c | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.c | 3 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-selector/cpufreq-selector-procfs.c | 3 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.c | 2 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-selector/cpufreq-selector.c | 3 |
12 files changed, 0 insertions, 28 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c index 7dc93efe..8ae208c3 100644 --- a/cpufreq/src/cpufreq-applet.c +++ b/cpufreq/src/cpufreq-applet.c @@ -74,9 +74,6 @@ struct _CPUFreqAppletClass { MatePanelAppletClass parent_class; }; -static void cpufreq_applet_init (CPUFreqApplet *applet); -static void cpufreq_applet_class_init (CPUFreqAppletClass *klass); - static void cpufreq_applet_preferences_cb (GtkAction *action, CPUFreqApplet *applet); static void cpufreq_applet_help_cb (GtkAction *action, diff --git a/cpufreq/src/cpufreq-monitor-cpuinfo.c b/cpufreq/src/cpufreq-monitor-cpuinfo.c index 6f1f9535..b1891072 100644 --- a/cpufreq/src/cpufreq-monitor-cpuinfo.c +++ b/cpufreq/src/cpufreq-monitor-cpuinfo.c @@ -32,8 +32,6 @@ #include "cpufreq-monitor-cpuinfo.h" #include "cpufreq-utils.h" -static void cpufreq_monitor_cpuinfo_class_init (CPUFreqMonitorCPUInfoClass *klass); - static gboolean cpufreq_monitor_cpuinfo_run (CPUFreqMonitor *monitor); G_DEFINE_TYPE (CPUFreqMonitorCPUInfo, cpufreq_monitor_cpuinfo, CPUFREQ_TYPE_MONITOR) diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c index dd2722ba..28de798c 100644 --- a/cpufreq/src/cpufreq-monitor-libcpufreq.c +++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c @@ -31,8 +31,6 @@ #include "cpufreq-monitor-libcpufreq.h" #include "cpufreq-utils.h" -static void cpufreq_monitor_libcpufreq_class_init (CPUFreqMonitorLibcpufreqClass *klass); - static gboolean cpufreq_monitor_libcpufreq_run (CPUFreqMonitor *monitor); static GList *cpufreq_monitor_libcpufreq_get_available_frequencies (CPUFreqMonitor *monitor); static GList *cpufreq_monitor_libcpufreq_get_available_governors (CPUFreqMonitor *monitor); diff --git a/cpufreq/src/cpufreq-monitor-procfs.c b/cpufreq/src/cpufreq-monitor-procfs.c index ab2e3426..f43da9dc 100644 --- a/cpufreq/src/cpufreq-monitor-procfs.c +++ b/cpufreq/src/cpufreq-monitor-procfs.c @@ -29,8 +29,6 @@ #include "cpufreq-monitor-procfs.h" #include "cpufreq-utils.h" -static void cpufreq_monitor_procfs_class_init (CPUFreqMonitorProcfsClass *klass); - static gboolean cpufreq_monitor_procfs_run (CPUFreqMonitor *monitor); static GList *cpufreq_monitor_procfs_get_available_frequencies (CPUFreqMonitor *monitor); diff --git a/cpufreq/src/cpufreq-monitor-sysfs.c b/cpufreq/src/cpufreq-monitor-sysfs.c index 19a29474..7893745c 100644 --- a/cpufreq/src/cpufreq-monitor-sysfs.c +++ b/cpufreq/src/cpufreq-monitor-sysfs.c @@ -38,8 +38,6 @@ enum { N_FILES }; -static void cpufreq_monitor_sysfs_class_init (CPUFreqMonitorSysfsClass *klass); - static gboolean cpufreq_monitor_sysfs_run (CPUFreqMonitor *monitor); static GList *cpufreq_monitor_sysfs_get_available_frequencies (CPUFreqMonitor *monitor); static GList *cpufreq_monitor_sysfs_get_available_governors (CPUFreqMonitor *monitor); diff --git a/cpufreq/src/cpufreq-monitor.c b/cpufreq/src/cpufreq-monitor.c index 0f5f116d..451ffd9f 100644 --- a/cpufreq/src/cpufreq-monitor.c +++ b/cpufreq/src/cpufreq-monitor.c @@ -52,8 +52,6 @@ struct _CPUFreqMonitorPrivate { gboolean changed; }; -static void cpufreq_monitor_init (CPUFreqMonitor *monitor); -static void cpufreq_monitor_class_init (CPUFreqMonitorClass *klass); static void cpufreq_monitor_finalize (GObject *object); static void cpufreq_monitor_set_property (GObject *object, diff --git a/cpufreq/src/cpufreq-popup.c b/cpufreq/src/cpufreq-popup.c index 805cbd4e..4a0d6025 100644 --- a/cpufreq/src/cpufreq-popup.c +++ b/cpufreq/src/cpufreq-popup.c @@ -48,8 +48,6 @@ struct _CPUFreqPopupPrivate { GtkWidget *parent; }; -static void cpufreq_popup_init (CPUFreqPopup *popup); -static void cpufreq_popup_class_init (CPUFreqPopupClass *klass); static void cpufreq_popup_finalize (GObject *object); G_DEFINE_TYPE_WITH_PRIVATE (CPUFreqPopup, cpufreq_popup, G_TYPE_OBJECT) diff --git a/cpufreq/src/cpufreq-prefs.c b/cpufreq/src/cpufreq-prefs.c index 8ccaa17f..dfa6128a 100644 --- a/cpufreq/src/cpufreq-prefs.c +++ b/cpufreq/src/cpufreq-prefs.c @@ -54,8 +54,6 @@ struct _CPUFreqPrefsPrivate { GtkWidget *show_mode_combo; }; -static void cpufreq_prefs_init (CPUFreqPrefs *prefs); -static void cpufreq_prefs_class_init (CPUFreqPrefsClass *klass); static void cpufreq_prefs_finalize (GObject *object); static void cpufreq_prefs_set_property (GObject *object, diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.c b/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.c index d56364b5..36ab100f 100644 --- a/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.c +++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.c @@ -31,9 +31,6 @@ #include "cpufreq-selector-libcpufreq.h" -static void cpufreq_selector_libcpufreq_init (CPUFreqSelectorLibcpufreq *selector); -static void cpufreq_selector_libcpufreq_class_init (CPUFreqSelectorLibcpufreqClass *klass); - static gboolean cpufreq_selector_libcpufreq_set_frequency (CPUFreqSelector *selector, guint frequency, GError **error); diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-procfs.c b/cpufreq/src/cpufreq-selector/cpufreq-selector-procfs.c index 69ecaf77..4a2c36f0 100644 --- a/cpufreq/src/cpufreq-selector/cpufreq-selector-procfs.c +++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-procfs.c @@ -27,9 +27,6 @@ #include "cpufreq-selector-procfs.h" -static void cpufreq_selector_procfs_init (CPUFreqSelectorProcfs *selector); -static void cpufreq_selector_procfs_class_init (CPUFreqSelectorProcfsClass *klass); - static gboolean cpufreq_selector_procfs_set_frequency (CPUFreqSelector *selector, guint frequency, GError **error); diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.c b/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.c index c1b0850c..0ddb5334 100644 --- a/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.c +++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.c @@ -31,8 +31,6 @@ struct _CPUFreqSelectorSysfsPrivate { GList *available_govs; }; -static void cpufreq_selector_sysfs_init (CPUFreqSelectorSysfs *selector); -static void cpufreq_selector_sysfs_class_init (CPUFreqSelectorSysfsClass *klass); static void cpufreq_selector_sysfs_finalize (GObject *object); static gboolean cpufreq_selector_sysfs_set_frequency (CPUFreqSelector *selector, diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector.c b/cpufreq/src/cpufreq-selector/cpufreq-selector.c index 7f10c773..1e9ea8ad 100644 --- a/cpufreq/src/cpufreq-selector/cpufreq-selector.c +++ b/cpufreq/src/cpufreq-selector/cpufreq-selector.c @@ -31,9 +31,6 @@ struct _CPUFreqSelectorPrivate { guint cpu; }; -static void cpufreq_selector_init (CPUFreqSelector *selector); -static void cpufreq_selector_class_init (CPUFreqSelectorClass *klass); - static void cpufreq_selector_set_property (GObject *object, guint prop_id, const GValue *value, |