Skip to content

Display and control your Android device

Add missing SC_ prefix to header guards

Romain Vimontfa5b2a29e983
diff --git a/app/src/common.h b/app/src/common.h
index ce9ccad4..dccc8316 100644
--- a/app/src/common.h
+++ b/app/src/common.h
@@ -1,5 +1,5 @@
-#ifndef COMMON_H
-#define COMMON_H
+#ifndef SC_COMMON_H
+#define SC_COMMON_H
#include "config.h"
#include "compat.h"
diff --git a/app/src/compat.h b/app/src/compat.h
index 62435718..8265dbc8 100644
--- a/app/src/compat.h
+++ b/app/src/compat.h
@@ -1,5 +1,5 @@
-#ifndef COMPAT_H
-#define COMPAT_H
+#ifndef SC_COMPAT_H
+#define SC_COMPAT_H
#include "config.h"
diff --git a/app/src/control_msg.h b/app/src/control_msg.h
index fbe203d4..1463fddc 100644
--- a/app/src/control_msg.h
+++ b/app/src/control_msg.h
@@ -1,5 +1,5 @@
-#ifndef CONTROLMSG_H
-#define CONTROLMSG_H
+#ifndef SC_CONTROLMSG_H
+#define SC_CONTROLMSG_H
#include "common.h"
diff --git a/app/src/controller.h b/app/src/controller.h
index f8bc7c02..f8662353 100644
--- a/app/src/controller.h
+++ b/app/src/controller.h
@@ -1,5 +1,5 @@
-#ifndef CONTROLLER_H
-#define CONTROLLER_H
+#ifndef SC_CONTROLLER_H
+#define SC_CONTROLLER_H
#include "common.h"
diff --git a/app/src/device_msg.h b/app/src/device_msg.h
index a0c989e3..e8d9fed4 100644
--- a/app/src/device_msg.h
+++ b/app/src/device_msg.h
@@ -1,5 +1,5 @@
-#ifndef DEVICEMSG_H
-#define DEVICEMSG_H
+#ifndef SC_DEVICEMSG_H
+#define SC_DEVICEMSG_H
#include "common.h"
diff --git a/app/src/fps_counter.h b/app/src/fps_counter.h
index e21c49c4..e7619271 100644
--- a/app/src/fps_counter.h
+++ b/app/src/fps_counter.h
@@ -1,5 +1,5 @@
-#ifndef FPSCOUNTER_H
-#define FPSCOUNTER_H
+#ifndef SC_FPSCOUNTER_H
+#define SC_FPSCOUNTER_H
#include "common.h"
diff --git a/app/src/icon.h b/app/src/icon.h
index 8df53671..3251e48f 100644
--- a/app/src/icon.h
+++ b/app/src/icon.h
@@ -1,5 +1,5 @@
-#ifndef ICON_H
-#define ICON_H
+#ifndef SC_ICON_H
+#define SC_ICON_H
#include "common.h"
diff --git a/app/src/input_manager.h b/app/src/input_manager.h
index f6c210e3..46b1160e 100644
--- a/app/src/input_manager.h
+++ b/app/src/input_manager.h
@@ -1,5 +1,5 @@
-#ifndef INPUTMANAGER_H
-#define INPUTMANAGER_H
+#ifndef SC_INPUTMANAGER_H
+#define SC_INPUTMANAGER_H
#include "common.h"
diff --git a/app/src/receiver.h b/app/src/receiver.h
index 3c4e8c64..f5808e4b 100644
--- a/app/src/receiver.h
+++ b/app/src/receiver.h
@@ -1,5 +1,5 @@
-#ifndef RECEIVER_H
-#define RECEIVER_H
+#ifndef SC_RECEIVER_H
+#define SC_RECEIVER_H
#include "common.h"
diff --git a/app/src/util/cbuf.h b/app/src/util/cbuf.h
index 01e41044..2a756171 100644
--- a/app/src/util/cbuf.h
+++ b/app/src/util/cbuf.h
@@ -1,6 +1,6 @@
// generic circular buffer (bounded queue) implementation
-#ifndef CBUF_H
-#define CBUF_H
+#ifndef SC_CBUF_H
+#define SC_CBUF_H
#include "common.h"
diff --git a/app/src/util/net.h b/app/src/util/net.h
index 15979cf9..d9289981 100644
--- a/app/src/util/net.h
+++ b/app/src/util/net.h
@@ -1,5 +1,5 @@
-#ifndef NET_H
-#define NET_H
+#ifndef SC_NET_H
+#define SC_NET_H
#include "common.h"