summaryrefslogtreecommitdiff
path: root/src/ui_dispatch.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-04-22 11:44:54 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-04-22 11:44:54 +0200
commit4d8ad7d87072bc1631d0b949930f4869e56b7b99 (patch)
tree304498a232ad457ff6937d94266e3a86c5d3eab5 /src/ui_dispatch.h
parent274324aab47c51d6c07ace5e219d196077c3e5d1 (diff)
downloadpianobar-4d8ad7d87072bc1631d0b949930f4869e56b7b99.tar.gz
pianobar-4d8ad7d87072bc1631d0b949930f4869e56b7b99.tar.bz2
pianobar-4d8ad7d87072bc1631d0b949930f4869e56b7b99.zip
Fix include guards
Macros starting with _ are reserved (see http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html). Fixes #440.
Diffstat (limited to 'src/ui_dispatch.h')
-rw-r--r--src/ui_dispatch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui_dispatch.h b/src/ui_dispatch.h
index ca8a292..51e5417 100644
--- a/src/ui_dispatch.h
+++ b/src/ui_dispatch.h
@@ -21,8 +21,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-#ifndef _UI_DISPATCH_H
-#define _UI_DISPATCH_H
+#ifndef SRC_UI_DISPATCH_H_PV2JON1Z
+#define SRC_UI_DISPATCH_H_PV2JON1Z
/* bit-mask */
typedef enum {
@@ -112,5 +112,5 @@ static const BarUiDispatchAction_t dispatchActions[BAR_KS_COUNT] = {
BarKeyShortcutId_t BarUiDispatch (BarApp_t *, const char, PianoStation_t *, PianoSong_t *,
const bool, BarUiDispatchContext_t);
-#endif /* _UI_DISPATCH_H */
+#endif /* SRC_UI_DISPATCH_H_PV2JON1Z */