[gnome-applets] cpufreq: remove redundant redeclarations
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] cpufreq: remove redundant redeclarations
- Date: Wed, 21 Sep 2016 12:30:49 +0000 (UTC)
commit b007126bc57acbafe8c6b724577377723b714108
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Sep 21 15:27:01 2016 +0300
cpufreq: remove redundant redeclarations
cpufreq/src/cpufreq-applet.c | 3 ---
cpufreq/src/cpufreq-monitor-cpuinfo.c | 2 --
cpufreq/src/cpufreq-monitor-libcpufreq.c | 2 --
cpufreq/src/cpufreq-monitor-procfs.c | 2 --
cpufreq/src/cpufreq-monitor-sysfs.c | 2 --
cpufreq/src/cpufreq-monitor.c | 2 --
cpufreq/src/cpufreq-popup.c | 2 --
cpufreq/src/cpufreq-prefs.c | 2 --
.../cpufreq-selector/cpufreq-selector-libcpufreq.c | 3 ---
.../src/cpufreq-selector/cpufreq-selector-procfs.c | 3 ---
.../src/cpufreq-selector/cpufreq-selector-sysfs.c | 2 --
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 86100f1..09ae9e4 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -74,9 +74,6 @@ struct _CPUFreqAppletClass {
PanelAppletClass parent_class;
};
-static void cpufreq_applet_init (CPUFreqApplet *applet);
-static void cpufreq_applet_class_init (CPUFreqAppletClass *klass);
-
static void cpufreq_applet_preferences_cb (GSimpleAction *action,
GVariant *parameter,
gpointer user_data);
diff --git a/cpufreq/src/cpufreq-monitor-cpuinfo.c b/cpufreq/src/cpufreq-monitor-cpuinfo.c
index 1b95a75..c6abbc6 100644
--- a/cpufreq/src/cpufreq-monitor-cpuinfo.c
+++ b/cpufreq/src/cpufreq-monitor-cpuinfo.c
@@ -31,8 +31,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 b984146..6259aa8 100644
--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c
+++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c
@@ -27,8 +27,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 f611978..d7a59e9 100644
--- a/cpufreq/src/cpufreq-monitor-procfs.c
+++ b/cpufreq/src/cpufreq-monitor-procfs.c
@@ -28,8 +28,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 9aff471..8d11cf6 100644
--- a/cpufreq/src/cpufreq-monitor-sysfs.c
+++ b/cpufreq/src/cpufreq-monitor-sysfs.c
@@ -37,8 +37,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 a0a68b5..7a633f8 100644
--- a/cpufreq/src/cpufreq-monitor.c
+++ b/cpufreq/src/cpufreq-monitor.c
@@ -54,8 +54,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 69b8c9b..ea05392 100644
--- a/cpufreq/src/cpufreq-popup.c
+++ b/cpufreq/src/cpufreq-popup.c
@@ -50,8 +50,6 @@ struct _CPUFreqPopupPrivate {
#define CPUFREQ_POPUP_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), CPUFREQ_TYPE_POPUP, CPUFreqPopupPrivate))
-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 (CPUFreqPopup, cpufreq_popup, G_TYPE_OBJECT)
diff --git a/cpufreq/src/cpufreq-prefs.c b/cpufreq/src/cpufreq-prefs.c
index 3737974..895664b 100644
--- a/cpufreq/src/cpufreq-prefs.c
+++ b/cpufreq/src/cpufreq-prefs.c
@@ -55,8 +55,6 @@ struct _CPUFreqPrefsPrivate {
#define CPUFREQ_PREFS_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), CPUFREQ_TYPE_PREFS, CPUFreqPrefsPrivate))
-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 585fc49..82e5cba 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.c
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.c
@@ -25,9 +25,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 0b71306..abf2fe8 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector-procfs.c
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-procfs.c
@@ -26,9 +26,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 7ab4e0a..860542e 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.c
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.c
@@ -33,8 +33,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 0510e3f..d7da183 100644
--- a/cpufreq/src/cpufreq-selector/cpufreq-selector.c
+++ b/cpufreq/src/cpufreq-selector/cpufreq-selector.c
@@ -33,9 +33,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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]