aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfinput
diff options
context:
space:
mode:
authorAutechre2020-08-04 17:40:56 +0200
committerGitHub2020-08-04 17:40:56 +0200
commitedfb913768c9ebd50a0ba810697e2ab7056bcc3e (patch)
tree7a12bf7b69f7f47fa3fed0d625530a3250d81be7 /plugins/dfinput
parent31afa58d0576516307bb1f634bd23595d676f2f3 (diff)
parent908e426cc1ef2187357ed8fb59edd99b8a8060c9 (diff)
downloadpcsx_rearmed-edfb913768c9ebd50a0ba810697e2ab7056bcc3e.tar.gz
pcsx_rearmed-edfb913768c9ebd50a0ba810697e2ab7056bcc3e.tar.bz2
pcsx_rearmed-edfb913768c9ebd50a0ba810697e2ab7056bcc3e.zip
Merge pull request #443 from negativeExponent/add-header-guards
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__ */