All of lore.kernel.org
 help / color / mirror / Atom feed
From: SF Markus Elfring <elfring at users.sourceforge.net>
To: powertop@lists.01.org
Subject: Re: [Powertop] reserved identifier violation
Date: Fri, 31 Oct 2014 14:42:58 +0100	[thread overview]
Message-ID: <545391E2.8020607@users.sourceforge.net> (raw)
In-Reply-To: 63301.10.255.85.192.1414719505.squirrel@linux.intel.com

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

> If you feel very strongly about this please send your patches
> to the mailing list.

Would you like to integrate the attached update suggestion into your source code
repository?

How do you want to proceed with the remaining update candidates?

Regards,
Markus

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Include-guards-became-unique.patch --]
[-- Type: text/x-patch, Size: 28053 bytes --]

>From 08f409792d47d59375882fcc165ef79d60643e72 Mon Sep 17 00:00:00 2001
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Fri, 31 Oct 2014 14:34:00 +0100
Subject: [PATCH] Include guards became unique.

Some include guards did not fit to the expected naming convention of the
C++ language standard. This detail was fixed by the addition of a prefix.

The probability for name clashes was also reduced by the addition of a kind
of universally unique identifier as a suffix.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 src/calibrate/calibrate.h          | 4 ++--
 src/cpu/cpu.h                      | 4 ++--
 src/cpu/cpu_rapl_device.h          | 4 ++--
 src/cpu/cpudevice.h                | 4 ++--
 src/cpu/dram_rapl_device.h         | 4 ++--
 src/cpu/rapl/rapl_interface.h      | 4 ++--
 src/devices/ahci.h                 | 4 ++--
 src/devices/alsa.h                 | 4 ++--
 src/devices/backlight.h            | 4 ++--
 src/devices/device.h               | 4 ++--
 src/devices/gpu_rapl_device.h      | 4 ++--
 src/devices/i915-gpu.h             | 4 ++--
 src/devices/network.h              | 4 ++--
 src/devices/rfkill.h               | 4 ++--
 src/devices/runtime_pm.h           | 4 ++--
 src/devices/thinkpad-fan.h         | 4 ++--
 src/devices/thinkpad-light.h       | 4 ++--
 src/devices/usb.h                  | 4 ++--
 src/devlist.h                      | 4 ++--
 src/display.h                      | 4 ++--
 src/lib.h                          | 4 ++--
 src/measurement/acpi.h             | 4 ++--
 src/measurement/extech.h           | 4 ++--
 src/measurement/measurement.h      | 4 ++--
 src/measurement/sysfs.h            | 4 ++--
 src/parameters/parameters.h        | 4 ++--
 src/perf/perf.h                    | 4 ++--
 src/perf/perf_bundle.h             | 4 ++--
 src/perf/perf_event.h              | 4 ++--
 src/process/interrupt.h            | 4 ++--
 src/process/powerconsumer.h        | 4 ++--
 src/process/process.h              | 4 ++--
 src/process/processdevice.h        | 4 ++--
 src/process/timer.h                | 4 ++--
 src/process/work.h                 | 4 ++--
 src/report/report-formatter-base.h | 4 ++--
 src/report/report-formatter-csv.h  | 4 ++--
 src/report/report-formatter-html.h | 4 ++--
 src/report/report-formatter.h      | 4 ++--
 src/report/report-maker.h          | 4 ++--
 src/report/report.h                | 4 ++--
 src/tuning/bluetooth.h             | 4 ++--
 src/tuning/ethernet.h              | 4 ++--
 src/tuning/iw.h                    | 4 ++--
 src/tuning/nl80211.h               | 4 ++--
 src/tuning/runtime.h               | 4 ++--
 src/tuning/tunable.h               | 4 ++--
 src/tuning/tuning.h                | 4 ++--
 src/tuning/tuningsysfs.h           | 4 ++--
 src/tuning/tuningusb.h             | 4 ++--
 src/tuning/wifi.h                  | 4 ++--
 traceevent/event-parse.h           | 4 ++--
 traceevent/event-utils.h           | 4 ++--
 traceevent/kbuffer.h               | 4 ++--
 54 files changed, 108 insertions(+), 108 deletions(-)

diff --git a/src/calibrate/calibrate.h b/src/calibrate/calibrate.h
index c279ae2..5523d1b 100644
--- a/src/calibrate/calibrate.h
+++ b/src/calibrate/calibrate.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef __INCLUDE_GUARD_CALIBRATE_H
-#define __INCLUDE_GUARD_CALIBRATE_H
+#ifndef PowerTop_CALIBRATE_H_F9890E37B2EF4D8D9226B0CE6287A6F1
+#define PowerTop_CALIBRATE_H_F9890E37B2EF4D8D9226B0CE6287A6F1
 
 extern void one_measurement(int seconds, char *workload);
 extern void calibrate(void);
diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h
index 6b4aed8..fee9f80 100644
--- a/src/cpu/cpu.h
+++ b/src/cpu/cpu.h
@@ -23,8 +23,8 @@
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
 
-#ifndef __INCLUDE_GUARD_CPUDEV_H
-#define __INCLUDE_GUARD_CPUDEV_H
+#ifndef PowerTop_CPUDEV_H_741152F9087B4A09BE80E1B8792D1E9F
+#define PowerTop_CPUDEV_H_741152F9087B4A09BE80E1B8792D1E9F
 
 #include <iostream>
 #include <vector>
diff --git a/src/cpu/cpu_rapl_device.h b/src/cpu/cpu_rapl_device.h
index 407f2da..8bb14ab 100644
--- a/src/cpu/cpu_rapl_device.h
+++ b/src/cpu/cpu_rapl_device.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Srinivas Pandruvada <Srinivas.Pandruvada@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_CPU_RAPL_DEVICE_H
-#define _INCLUDE_GUARD_CPU_RAPL_DEVICE_H
+#ifndef PowerTop_CPU_RAPL_DEVICE_H_2D8DEDCA35B84F8DB1E497BDFBF8630B
+#define PowerTop_CPU_RAPL_DEVICE_H_2D8DEDCA35B84F8DB1E497BDFBF8630B
 
 #include <vector>
 #include <string>
diff --git a/src/cpu/cpudevice.h b/src/cpu/cpudevice.h
index 841a101..e187216 100644
--- a/src/cpu/cpudevice.h
+++ b/src/cpu/cpudevice.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_CPUDEVICE_H
-#define _INCLUDE_GUARD_CPUDEVICE_H
+#ifndef PowerTop_CPUDEVICE_H_7CFB7F2ACEB343BAB922A0959D5CF8F5
+#define PowerTop_CPUDEVICE_H_7CFB7F2ACEB343BAB922A0959D5CF8F5
 
 #include <vector>
 #include <string>
diff --git a/src/cpu/dram_rapl_device.h b/src/cpu/dram_rapl_device.h
index dc53094..e810224 100644
--- a/src/cpu/dram_rapl_device.h
+++ b/src/cpu/dram_rapl_device.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Srinivas Pandruvada <Srinivas.Pandruvada@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_DRAM_RAPL_DEVICE_H
-#define _INCLUDE_GUARD_DRAM_RAPL_DEVICE_H
+#ifndef PowerTop_DRAM_RAPL_DEVICE_H_3E79492941D04E26AB65C77724FAAD28
+#define PowerTop_DRAM_RAPL_DEVICE_H_3E79492941D04E26AB65C77724FAAD28
 
 #include <vector>
 #include <string>
diff --git a/src/cpu/rapl/rapl_interface.h b/src/cpu/rapl/rapl_interface.h
index 744f595..a0de98f 100644
--- a/src/cpu/rapl/rapl_interface.h
+++ b/src/cpu/rapl/rapl_interface.h
@@ -21,8 +21,8 @@
  *
  */
 
-#ifndef RAPL_INTERFACE_H
-#define RAPL_INTERFACE_H
+#ifndef PowerTop_RAPL_INTERFACE_H_C0544EF7B9D840E6B2CBC9ADD16135DF
+#define PowerTop_RAPL_INTERFACE_H_C0544EF7B9D840E6B2CBC9ADD16135DF
 
 class c_rapl_interface
 {
diff --git a/src/devices/ahci.h b/src/devices/ahci.h
index 99813d7..796d042 100644
--- a/src/devices/ahci.h
+++ b/src/devices/ahci.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_AHCI_H
-#define _INCLUDE_GUARD_AHCI_H
 
+#ifndef PowerTop_AHCI_H_A7CA702E879A43C2961569428A4A18D4
+#define PowerTop_AHCI_H_A7CA702E879A43C2961569428A4A18D4
 
 #include <string>
 #include "device.h"
diff --git a/src/devices/alsa.h b/src/devices/alsa.h
index f7b4b97..c168920 100644
--- a/src/devices/alsa.h
+++ b/src/devices/alsa.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_ALSA_H
-#define _INCLUDE_GUARD_ALSA_H
 
+#ifndef PowerTop_ALSA_H_BC62EBDE30B0418DB610BE0F170309B0
+#define PowerTop_ALSA_H_BC62EBDE30B0418DB610BE0F170309B0
 
 #include "device.h"
 #include "../parameters/parameters.h"
diff --git a/src/devices/backlight.h b/src/devices/backlight.h
index 3d5377a..a5ae0c0 100644
--- a/src/devices/backlight.h
+++ b/src/devices/backlight.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_BACKLIGHT_H
-#define _INCLUDE_GUARD_BACKLIGHT_H
 
+#ifndef PowerTop_BACKLIGHT_H_BE491978F0B0452AA807788965C7C85D
+#define PowerTop_BACKLIGHT_H_BE491978F0B0452AA807788965C7C85D
 
 #include "device.h"
 
diff --git a/src/devices/device.h b/src/devices/device.h
index a373875..14742dd 100644
--- a/src/devices/device.h
+++ b/src/devices/device.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_DEVICE_H
-#define _INCLUDE_GUARD_DEVICE_H
 
+#ifndef PowerTop_DEVICE_H_C31A24E582B749588C528415C4A379DE
+#define PowerTop_DEVICE_H_C31A24E582B749588C528415C4A379DE
 
 #include <vector>
 #include <limits.h>
diff --git a/src/devices/gpu_rapl_device.h b/src/devices/gpu_rapl_device.h
index fbde246..3144c54 100644
--- a/src/devices/gpu_rapl_device.h
+++ b/src/devices/gpu_rapl_device.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Srinivas Pandruvada <Srinivas.Pandruvada@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_GPU_RAPL_DEVICE_H
-#define _INCLUDE_GUARD_GPU_RAPL_DEVICE_H
+#ifndef PowerTop_GPU_RAPL_DEVICE_H_397849C175EA41B79DD41294CE4F5960
+#define PowerTop_GPU_RAPL_DEVICE_H_397849C175EA41B79DD41294CE4F5960
 
 #include <vector>
 #include <string>
diff --git a/src/devices/i915-gpu.h b/src/devices/i915-gpu.h
index 7653b94..50a88f5 100644
--- a/src/devices/i915-gpu.h
+++ b/src/devices/i915-gpu.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_i915_GPU_H
-#define _INCLUDE_GUARD_i915_GPU_H
 
+#ifndef PowerTop_i915_GPU_H_B34CDDA9B23E4508BEF4EB4C5EA5D2D3
+#define PowerTop_i915_GPU_H_B34CDDA9B23E4508BEF4EB4C5EA5D2D3
 
 #include "device.h"
 
diff --git a/src/devices/network.h b/src/devices/network.h
index 45dc130..a05c5a2 100644
--- a/src/devices/network.h
+++ b/src/devices/network.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_NETWORK_H
-#define _INCLUDE_GUARD_NETWORK_H
+#ifndef PowerTop_NETWORK_H_9275A37C545E44D28A575D3723EB6975
+#define PowerTop_NETWORK_H_9275A37C545E44D28A575D3723EB6975
 
 #include <sys/time.h>
 
diff --git a/src/devices/rfkill.h b/src/devices/rfkill.h
index c24e03b..c880127 100644
--- a/src/devices/rfkill.h
+++ b/src/devices/rfkill.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_RFKILL_H
-#define _INCLUDE_GUARD_RFKILL_H
 
+#ifndef PowerTop_RFKILL_H_A75F78A7C3EE4EECB17A04FFFE21E0E6
+#define PowerTop_RFKILL_H_A75F78A7C3EE4EECB17A04FFFE21E0E6
 
 #include "device.h"
 #include "../parameters/parameters.h"
diff --git a/src/devices/runtime_pm.h b/src/devices/runtime_pm.h
index ea09dac..cdd16af 100644
--- a/src/devices/runtime_pm.h
+++ b/src/devices/runtime_pm.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_RUNTIMEPM_H
-#define _INCLUDE_GUARD_RUNTIMEPM_H
 
+#ifndef PowerTop_RUNTIMEPM_H_2174F0EBE023440EBA67A74C7A7666C5
+#define PowerTop_RUNTIMEPM_H_2174F0EBE023440EBA67A74C7A7666C5
 
 #include "device.h"
 #include "../parameters/parameters.h"
diff --git a/src/devices/thinkpad-fan.h b/src/devices/thinkpad-fan.h
index 34c4c43..f6ce236 100644
--- a/src/devices/thinkpad-fan.h
+++ b/src/devices/thinkpad-fan.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_THINKPAD_FAN_H
-#define _INCLUDE_GUARD_THINKPAD_FAN_H
 
+#ifndef PowerTop_THINKPAD_FAN_H_5DCC6925B2A24F71AB5B0C9A79F56A69
+#define PowerTop_THINKPAD_FAN_H_5DCC6925B2A24F71AB5B0C9A79F56A69
 
 #include "device.h"
 #include "../parameters/parameters.h"
diff --git a/src/devices/thinkpad-light.h b/src/devices/thinkpad-light.h
index 64a1789..8a0b43a 100644
--- a/src/devices/thinkpad-light.h
+++ b/src/devices/thinkpad-light.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_THINKPAD_LIGHT_H
-#define _INCLUDE_GUARD_THINKPAD_LIGHT_H
 
+#ifndef PowerTop_THINKPAD_LIGHT_H_F386BD2473CD45AE89C82C4DC893C21A
+#define PowerTop_THINKPAD_LIGHT_H_F386BD2473CD45AE89C82C4DC893C21A
 
 #include "device.h"
 #include "../parameters/parameters.h"
diff --git a/src/devices/usb.h b/src/devices/usb.h
index 39a746a..a9fbfcd 100644
--- a/src/devices/usb.h
+++ b/src/devices/usb.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_USB_H
-#define _INCLUDE_GUARD_USB_H
 
+#ifndef PowerTop_USB_H_F6F0E43D649542ABA96ED52393AF9DB4
+#define PowerTop_USB_H_F6F0E43D649542ABA96ED52393AF9DB4
 
 #include "device.h"
 #include "../parameters/parameters.h"
diff --git a/src/devlist.h b/src/devlist.h
index 35dfd6c..2b06332 100644
--- a/src/devlist.h
+++ b/src/devlist.h
@@ -1,5 +1,5 @@
-#ifndef __INCLUDE_GUARD_DEVLIST_H__
-#define __INCLUDE_GUARD_DEVLIST_H__
+#ifndef PowerTop_DEVLIST_H_7E30A87AAC714CD388165F6801575FA2
+#define PowerTop_DEVLIST_H_7E30A87AAC714CD388165F6801575FA2
 
 struct devuser {
 	unsigned int pid;
diff --git a/src/display.h b/src/display.h
index c3e8d61..d93bcaa 100644
--- a/src/display.h
+++ b/src/display.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef __INCLUDE_GUARD_DISPLAY_H_
-#define __INCLUDE_GUARD_DISPLAY_H_
 
+#ifndef PowerTop_DISPLAY_H_DEFED091E0DB4B69BEAE98D789CF050C
+#define PowerTop_DISPLAY_H_DEFED091E0DB4B69BEAE98D789CF050C
 
 #include <map>
 #include <string>
diff --git a/src/lib.h b/src/lib.h
index ec50946..6a19c93 100644
--- a/src/lib.h
+++ b/src/lib.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef INCLUDE_GUARD_LIB_H
-#define INCLUDE_GUARD_LIB_H
+#ifndef PowerTop_LIB_H_5B1DE34EA0264208ADF6B35D4066A559
+#define PowerTop_LIB_H_5B1DE34EA0264208ADF6B35D4066A559
 
 #include <libintl.h>
 #include <stdint.h>
diff --git a/src/measurement/acpi.h b/src/measurement/acpi.h
index 315fddf..5bdb1f5 100644
--- a/src/measurement/acpi.h
+++ b/src/measurement/acpi.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef __INCLUDE_GUARD_ACPI_H
-#define __INCLUDE_GUARD_ACPI_H
+#ifndef PowerTop_ACPI_H_24AF6C5F75D040C5A80314447D9869C2
+#define PowerTop_ACPI_H_24AF6C5F75D040C5A80314447D9869C2
 
 #include "measurement.h"
 
diff --git a/src/measurement/extech.h b/src/measurement/extech.h
index 5f4c338..49dd740 100644
--- a/src/measurement/extech.h
+++ b/src/measurement/extech.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef __INCLUDE_GUARD_EXTECH_H
-#define __INCLUDE_GUARD_EXTECH_H
+#ifndef PowerTop_EXTECH_H_ED2FDFC037164C5FA0E2DBE280118E2C
+#define PowerTop_EXTECH_H_ED2FDFC037164C5FA0E2DBE280118E2C
 
 #include <pthread.h>
 #include "measurement.h"
diff --git a/src/measurement/measurement.h b/src/measurement/measurement.h
index 83ffc34..ebe9ed9 100644
--- a/src/measurement/measurement.h
+++ b/src/measurement/measurement.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef __INCLUDE_GUARD_MEASUREMENT_H
-#define __INCLUDE_GUARD_MEASUREMENT_H
+#ifndef PowerTop_MEASUREMENT_H_FDE30576BE0F4AF89C1E61D2CF8560F4
+#define PowerTop_MEASUREMENT_H_FDE30576BE0F4AF89C1E61D2CF8560F4
 
 #include <vector>
 
diff --git a/src/measurement/sysfs.h b/src/measurement/sysfs.h
index b7efa3d..f12abf5 100644
--- a/src/measurement/sysfs.h
+++ b/src/measurement/sysfs.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Anssi Hannula <anssi.hannula@iki.fi>
  */
-#ifndef INCLUDE_GUARD_SYSFS_H
-#define INCLUDE_GUARD_SYSFS_H
+#ifndef PowerTop_SYSFS_H_3F3D518E033247EC9BABEE74B1FF671A
+#define PowerTop_SYSFS_H_3F3D518E033247EC9BABEE74B1FF671A
 
 #include "measurement.h"
 
diff --git a/src/parameters/parameters.h b/src/parameters/parameters.h
index 72f8d32..7777176 100644
--- a/src/parameters/parameters.h
+++ b/src/parameters/parameters.h
@@ -22,9 +22,9 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef __INCLUDE_GUARD_PARAMETERS_H_
-#define __INCLUDE_GUARD_PARAMETERS_H_
 
+#ifndef PowerTop_PARAMETERS_H_0DE23D3B40D44226BED9E23F98F29309
+#define PowerTop_PARAMETERS_H_0DE23D3B40D44226BED9E23F98F29309
 
 #include <map>
 #include <vector>
diff --git a/src/perf/perf.h b/src/perf/perf.h
index ee072ae..23faa7d 100644
--- a/src/perf/perf.h
+++ b/src/perf/perf.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_PERF_H_
-#define _INCLUDE_GUARD_PERF_H_
+#ifndef PowerTop_PERF_H_2B3761D7B75143AFBFB7C0F8445AA258
+#define PowerTop_PERF_H_2B3761D7B75143AFBFB7C0F8445AA258
 
 #include <iostream>
 
diff --git a/src/perf/perf_bundle.h b/src/perf/perf_bundle.h
index ec50744..754c12f 100644
--- a/src/perf/perf_bundle.h
+++ b/src/perf/perf_bundle.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_PERF_BUNDLE_H_
-#define _INCLUDE_GUARD_PERF_BUNDLE_H_
+#ifndef PowerTop_PERF_BUNDLE_H_E208334018A944189F900F660DEB978D
+#define PowerTop_PERF_BUNDLE_H_E208334018A944189F900F660DEB978D
 
 #include <iostream>
 #include <vector>
diff --git a/src/perf/perf_event.h b/src/perf/perf_event.h
index 92a38b8..1f3af64 100644
--- a/src/perf/perf_event.h
+++ b/src/perf/perf_event.h
@@ -35,8 +35,8 @@
  *
  * For licencing details see kernel-base/COPYING
  */
-#ifndef _LINUX_PERF_EVENT_H
-#define _LINUX_PERF_EVENT_H
+#ifndef PowerTop_LINUX_PERF_EVENT_H_8065B9B73FF04CD6844D46B5915FD178
+#define PowerTop_LINUX_PERF_EVENT_H_8065B9B73FF04CD6844D46B5915FD178
 
 #include <linux/types.h>
 #include <linux/ioctl.h>
diff --git a/src/process/interrupt.h b/src/process/interrupt.h
index 8d3a4d7..14137ff 100644
--- a/src/process/interrupt.h
+++ b/src/process/interrupt.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_INTERRUPT_H
-#define _INCLUDE_GUARD_INTERRUPT_H
+#ifndef PowerTop_INTERRUPT_H_5AFEEE5C183A4F85A9F6EF35FAFB4EA5
+#define PowerTop_INTERRUPT_H_5AFEEE5C183A4F85A9F6EF35FAFB4EA5
 
 #include <stdint.h>
 
diff --git a/src/process/powerconsumer.h b/src/process/powerconsumer.h
index 0ae384a..20df4f4 100644
--- a/src/process/powerconsumer.h
+++ b/src/process/powerconsumer.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef __INCLUDE_GUARD_POWER_CONSUMER_
-#define __INCLUDE_GUARD_POWER_CONSUMER_
+#ifndef PowerTop_POWER_CONSUMER_H_A28570A97AB04311808DE3508B732545
+#define PowerTop_POWER_CONSUMER_H_A28570A97AB04311808DE3508B732545
 
 #include <stdint.h>
 #include <vector>
diff --git a/src/process/process.h b/src/process/process.h
index 66293f7..682a732 100644
--- a/src/process/process.h
+++ b/src/process/process.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_PROCESS_H
-#define _INCLUDE_GUARD_PROCESS_H
+#ifndef PowerTop_PROCESS_H_9FAD6887EB3B4ED2A42C1FBCEF3FE9BD
+#define PowerTop_PROCESS_H_9FAD6887EB3B4ED2A42C1FBCEF3FE9BD
 
 #include <stdint.h>
 
diff --git a/src/process/processdevice.h b/src/process/processdevice.h
index 3392d3e..765a88e 100644
--- a/src/process/processdevice.h
+++ b/src/process/processdevice.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_DEVICE2_H
-#define _INCLUDE_GUARD_DEVICE2_H
+#ifndef PowerTop_DEVICE2_H_0A9428D54C83431889463DF77AF2F4DF
+#define PowerTop_DEVICE2_H_0A9428D54C83431889463DF77AF2F4DF
 
 #include <stdint.h>
 
diff --git a/src/process/timer.h b/src/process/timer.h
index 7718c3b..84a8370 100644
--- a/src/process/timer.h
+++ b/src/process/timer.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_TIMER_H
-#define _INCLUDE_GUARD_TIMER_H
+#ifndef PowerTop_TIMER_H_B5CBD21BFDE348A1A2A6159FD3C48CE6
+#define PowerTop_TIMER_H_B5CBD21BFDE348A1A2A6159FD3C48CE6
 
 #include <stdint.h>
 
diff --git a/src/process/work.h b/src/process/work.h
index ddd7c87..8cde991 100644
--- a/src/process/work.h
+++ b/src/process/work.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_WORK_H
-#define _INCLUDE_GUARD_WORK_H
+#ifndef PowerTop_WORK_H_2B2D67333B2A430BA81EBB19525EB57A
+#define PowerTop_WORK_H_2B2D67333B2A430BA81EBB19525EB57A
 
 #include <stdint.h>
 
diff --git a/src/report/report-formatter-base.h b/src/report/report-formatter-base.h
index e35a2ff..d087f96 100644
--- a/src/report/report-formatter-base.h
+++ b/src/report/report-formatter-base.h
@@ -23,8 +23,8 @@
  * Written by Igor Zhbanov <i.zhbanov@samsung.com>
  * 2012.10 */
 
-#ifndef _REPORT_FORMATTER_BASE_H_
-#define _REPORT_FORMATTER_BASE_H_
+#ifndef PowerTop_REPORT_FORMATTER_BASE_H_DE05F43D0DC34C559C86CF72264AF0ED
+#define PowerTop_REPORT_FORMATTER_BASE_H_DE05F43D0DC34C559C86CF72264AF0ED
 
 #include "report-formatter.h"
 
diff --git a/src/report/report-formatter-csv.h b/src/report/report-formatter-csv.h
index 7edfc01..e84cf76 100644
--- a/src/report/report-formatter-csv.h
+++ b/src/report/report-formatter-csv.h
@@ -23,8 +23,8 @@
  * Written by Igor Zhbanov <i.zhbanov@samsung.com>
  * 2012.10 */
 
-#ifndef _REPORT_FORMATTER_CSV_H_
-#define _REPORT_FORMATTER_CSV_H_
+#ifndef PowerTop_REPORT_FORMATTER_CSV_H_CDDFB88971364C6D808F2EC6C183EE1C
+#define PowerTop_REPORT_FORMATTER_CSV_H_CDDFB88971364C6D808F2EC6C183EE1C
 
 #include <string>
 
diff --git a/src/report/report-formatter-html.h b/src/report/report-formatter-html.h
index c003fd9..cb73c7a 100644
--- a/src/report/report-formatter-html.h
+++ b/src/report/report-formatter-html.h
@@ -23,8 +23,8 @@
  * Written by Igor Zhbanov <i.zhbanov@samsung.com>
  * 2012.10 */
 
-#ifndef _REPORT_FORMATTER_HTML_H_
-#define _REPORT_FORMATTER_HTML_H_
+#ifndef PowerTop_REPORT_FORMATTER_HTML_H_A176606F5CF64DB29184D350945BDBAB
+#define PowerTop_REPORT_FORMATTER_HTML_H_A176606F5CF64DB29184D350945BDBAB
 
 #include <string>
 
diff --git a/src/report/report-formatter.h b/src/report/report-formatter.h
index 940b5cf..106b679 100644
--- a/src/report/report-formatter.h
+++ b/src/report/report-formatter.h
@@ -23,8 +23,8 @@
  * Written by Igor Zhbanov <i.zhbanov@samsung.com>
  * 2012.10 */
 
-#ifndef _REPORT_FORMATTER_H_
-#define _REPORT_FORMATTER_H_
+#ifndef PowerTop_REPORT_FORMATTER_H_D70690A2417A4DCB889F89BA540AAC73
+#define PowerTop_REPORT_FORMATTER_H_D70690A2417A4DCB889F89BA540AAC73
 
 #include "report-maker.h"
 using namespace std;
diff --git a/src/report/report-maker.h b/src/report/report-maker.h
index bda4cef..a49debc 100644
--- a/src/report/report-maker.h
+++ b/src/report/report-maker.h
@@ -23,8 +23,8 @@
  * Written by Igor Zhbanov <i.zhbanov@samsung.com>
  * 2012.10 */
 
-#ifndef _REPORT_MAKER_H_
-#define _REPORT_MAKER_H_
+#ifndef PowerTop_REPORT_MAKER_H_38BCE14055AC4CBFA4F57E51E4F35AFD
+#define PowerTop_REPORT_MAKER_H_38BCE14055AC4CBFA4F57E51E4F35AFD
 
 /* This report generator implements the following document structure:
  *	body
diff --git a/src/report/report.h b/src/report/report.h
index 77bf2d7..472dc37 100644
--- a/src/report/report.h
+++ b/src/report/report.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef __INCLUDE_GUARD_REPORT_H_
-#define __INCLUDE_GUARD_REPORT_H_
+#ifndef PowerTop_REPORT_H_3C83FC97D1124ABF9C2FFE3C68C4A8E5
+#define PowerTop_REPORT_H_3C83FC97D1124ABF9C2FFE3C68C4A8E5
 
 #include <string>
 #include <stdio.h>
diff --git a/src/tuning/bluetooth.h b/src/tuning/bluetooth.h
index ecb667d..dc4f44b 100644
--- a/src/tuning/bluetooth.h
+++ b/src/tuning/bluetooth.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_BLUETOOTH_TUNE_H
-#define _INCLUDE_GUARD_BLUETOOTH_TUNE_H
+#ifndef PowerTop_BLUETOOTH_TUNE_H_6AC12005D04F4F5996DAE78D17245D66
+#define PowerTop_BLUETOOTH_TUNE_H_6AC12005D04F4F5996DAE78D17245D66
 
 #include <vector>
 
diff --git a/src/tuning/ethernet.h b/src/tuning/ethernet.h
index 85810fb..f86ad23 100644
--- a/src/tuning/ethernet.h
+++ b/src/tuning/ethernet.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_ETHERNET_TUNE_H
-#define _INCLUDE_GUARD_ETHERNET_TUNE_H
+#ifndef PowerTop_ETHERNET_TUNE_H_DE87CB1EBF2B467DB12F75F1AA69312E
+#define PowerTop_ETHERNET_TUNE_H_DE87CB1EBF2B467DB12F75F1AA69312E
 
 #include <vector>
 
diff --git a/src/tuning/iw.h b/src/tuning/iw.h
index 6ea5a3d..81677a0 100644
--- a/src/tuning/iw.h
+++ b/src/tuning/iw.h
@@ -1,5 +1,5 @@
-#ifndef __IW_H
-#define __IW_H
+#ifndef PowerTop_IW_H_30C72AD12B42444AACC3170CCEA1C220
+#define PowerTop_IW_H_30C72AD12B42444AACC3170CCEA1C220
 
 /*
  * This code has been blatently stolen from
diff --git a/src/tuning/nl80211.h b/src/tuning/nl80211.h
index 83b0514..c9ca9be 100644
--- a/src/tuning/nl80211.h
+++ b/src/tuning/nl80211.h
@@ -1,5 +1,5 @@
-#ifndef __LINUX_NL80211_H
-#define __LINUX_NL80211_H
+#ifndef PowerTop_LINUX_NL80211_H_17D5AD8F176241908638E7E1DB927E19
+#define PowerTop_LINUX_NL80211_H_17D5AD8F176241908638E7E1DB927E19
 /*
  * 802.11 netlink interface public header
  *
diff --git a/src/tuning/runtime.h b/src/tuning/runtime.h
index a3c3e20..68a3717 100644
--- a/src/tuning/runtime.h
+++ b/src/tuning/runtime.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_RUNTIME_TUNE_H
-#define _INCLUDE_GUARD_RUNTIME_TUNE_H
+#ifndef PowerTop_RUNTIME_TUNE_H_6BA73F614EC5449D99F58BEA91AC8F5C
+#define PowerTop_RUNTIME_TUNE_H_6BA73F614EC5449D99F58BEA91AC8F5C
 
 #include <vector>
 
diff --git a/src/tuning/tunable.h b/src/tuning/tunable.h
index 3372378..b72d68e 100644
--- a/src/tuning/tunable.h
+++ b/src/tuning/tunable.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_TUNABLE_H
-#define _INCLUDE_GUARD_TUNABLE_H
+#ifndef PowerTop_TUNABLE_H_7FE973566E7F4D5CB61CF22CB1467CE2
+#define PowerTop_TUNABLE_H_7FE973566E7F4D5CB61CF22CB1467CE2
 
 #include <vector>
 
diff --git a/src/tuning/tuning.h b/src/tuning/tuning.h
index f70001b..aa1e524 100644
--- a/src/tuning/tuning.h
+++ b/src/tuning/tuning.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_TUNING_H
-#define _INCLUDE_GUARD_TUNING_H
+#ifndef PowerTop_TUNING_H_14E511B2521146518C00571A47372A00
+#define PowerTop_TUNING_H_14E511B2521146518C00571A47372A00
 
 extern void initialize_tuning(void);
 extern void tuning_update_display(void);
diff --git a/src/tuning/tuningsysfs.h b/src/tuning/tuningsysfs.h
index ad89717..1bfe310 100644
--- a/src/tuning/tuningsysfs.h
+++ b/src/tuning/tuningsysfs.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_SYSFS_TUNE_H
-#define _INCLUDE_GUARD_SYSFS_TUNE_H
+#ifndef PowerTop_SYSFS_TUNE_H_554FE0E043594960A8C20B2D0DAF5A0C
+#define PowerTop_SYSFS_TUNE_H_554FE0E043594960A8C20B2D0DAF5A0C
 
 #include <vector>
 
diff --git a/src/tuning/tuningusb.h b/src/tuning/tuningusb.h
index a257904..92a1778 100644
--- a/src/tuning/tuningusb.h
+++ b/src/tuning/tuningusb.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_USB_TUNE_H
-#define _INCLUDE_GUARD_USB_TUNE_H
+#ifndef PowerTop_USB_TUNE_H_63B099A9676D4D559AB8B416403488F2
+#define PowerTop_USB_TUNE_H_63B099A9676D4D559AB8B416403488F2
 
 #include <vector>
 
diff --git a/src/tuning/wifi.h b/src/tuning/wifi.h
index 50ca68c..5af733e 100644
--- a/src/tuning/wifi.h
+++ b/src/tuning/wifi.h
@@ -22,8 +22,8 @@
  * Authors:
  *	Arjan van de Ven <arjan@linux.intel.com>
  */
-#ifndef _INCLUDE_GUARD_WIFI_TUNE_H
-#define _INCLUDE_GUARD_WIFI_TUNE_H
+#ifndef PowerTop_WIFI_TUNE_H_0ED852283D7243149E21D3565BB3ED55
+#define PowerTop_WIFI_TUNE_H_0ED852283D7243149E21D3565BB3ED55
 
 #include <vector>
 
diff --git a/traceevent/event-parse.h b/traceevent/event-parse.h
index c37b202..bfb9916 100644
--- a/traceevent/event-parse.h
+++ b/traceevent/event-parse.h
@@ -17,8 +17,8 @@
  *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
-#ifndef _PARSE_EVENTS_H
-#define _PARSE_EVENTS_H
+#ifndef PowerTop_PARSE_EVENTS_H_BE08409DC2034B40A9FC849B4AF15404
+#define PowerTop_PARSE_EVENTS_H_BE08409DC2034B40A9FC849B4AF15404
 
 #include <stdarg.h>
 #include <regex.h>
diff --git a/traceevent/event-utils.h b/traceevent/event-utils.h
index e76c9ac..908e64a 100644
--- a/traceevent/event-utils.h
+++ b/traceevent/event-utils.h
@@ -17,8 +17,8 @@
  *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
-#ifndef __UTIL_H
-#define __UTIL_H
+#ifndef PowerTop_UTIL_H_899675D1CB4A408E85111F5E9FB8CA42
+#define PowerTop_UTIL_H_899675D1CB4A408E85111F5E9FB8CA42
 
 #include <ctype.h>
 
diff --git a/traceevent/kbuffer.h b/traceevent/kbuffer.h
index c831f64..82f9e12 100644
--- a/traceevent/kbuffer.h
+++ b/traceevent/kbuffer.h
@@ -18,8 +18,8 @@
  *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
-#ifndef _KBUFFER_H
-#define _KBUFFER_H
+#ifndef PowerTop_KBUFFER_H_550829151C6D4F51B25F8EE6BF3B9F65
+#define PowerTop_KBUFFER_H_550829151C6D4F51B25F8EE6BF3B9F65
 
 #ifndef TS_SHIFT
 #define TS_SHIFT		27
-- 
2.1.3


             reply	other threads:[~2014-10-31 13:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 13:42 SF Markus Elfring [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-11-01  8:58 [Powertop] reserved identifier violation SF Markus Elfring
2014-10-31 23:22 Alexandra Yates
2014-10-31  1:38 Alexandra Yates
2014-10-18 19:37 SF Markus Elfring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545391E2.8020607@users.sourceforge.net \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.