aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfinput
diff options
context:
space:
mode:
authornegativeExponent2020-08-04 19:49:04 +0800
committernegativeExponent2020-08-04 20:40:58 +0800
commit908e426cc1ef2187357ed8fb59edd99b8a8060c9 (patch)
tree21a394548a7357d12af17014efc0453ad32be23e /plugins/dfinput
parent996dfb25c3a7ef8a485c3ce394a532cb0ee2e5c2 (diff)
downloadpcsx_rearmed-908e426cc1ef2187357ed8fb59edd99b8a8060c9.tar.gz
pcsx_rearmed-908e426cc1ef2187357ed8fb59edd99b8a8060c9.tar.bz2
pcsx_rearmed-908e426cc1ef2187357ed8fb59edd99b8a8060c9.zip
Add header guards
Diffstat (limited to 'plugins/dfinput')
-rw-r--r--plugins/dfinput/externals.h4
-rw-r--r--plugins/dfinput/main.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/plugins/dfinput/externals.h b/plugins/dfinput/externals.h
index a446956..2e216fd 100644
--- a/plugins/dfinput/externals.h
+++ b/plugins/dfinput/externals.h
@@ -1,3 +1,5 @@
+#ifndef __P_EXTERNALS_H__
+#define __P_EXTERNALS_H__
void dfinput_activate(void);
@@ -12,3 +14,5 @@ extern void pl_update_gun(int *xn, int *yn, int *xres, int *yres, int *in);
/* vibration trigger to frontend */
extern int in_enable_vibration;
extern void plat_trigger_vibrate(int pad, int low, int high);
+
+#endif /* __P_EXTERNALS_H__ */
diff --git a/plugins/dfinput/main.h b/plugins/dfinput/main.h
index e83306a..96cebfa 100644
--- a/plugins/dfinput/main.h
+++ b/plugins/dfinput/main.h
@@ -1,3 +1,6 @@
+#ifndef __P_MAIN_H__
+#define __P_MAIN_H__
+
#include "psemu_plugin_defs.h"
#include "externals.h"
@@ -16,3 +19,5 @@ void guncon_init(void);
/* get button state and pad type from main emu */
extern long (*PAD1_readPort1)(PadDataS *pad);
extern long (*PAD2_readPort2)(PadDataS *pad);
+
+#endif /* __P_MAIN_H__ */