aboutsummaryrefslogtreecommitdiff
path: root/include/ubox_sound.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-09-19 21:19:40 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-09-19 22:19:34 +0100
commitd495a881f3c277abd4a49fe9b3d5d2788ee4c92b (patch)
treef001f93e7be420d3cab8d6781213148e14dcbbd3 /include/ubox_sound.h
parent50d06345810cf849548b95e92973f8466b7d5754 (diff)
downloaduboxlib-dos-d495a881f3c277abd4a49fe9b3d5d2788ee4c92b.tar.gz
uboxlib-dos-d495a881f3c277abd4a49fe9b3d5d2788ee4c92b.zip
Use "pragma once"
Diffstat (limited to 'include/ubox_sound.h')
-rw-r--r--include/ubox_sound.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ubox_sound.h b/include/ubox_sound.h
index d52962b..56142c1 100644
--- a/include/ubox_sound.h
+++ b/include/ubox_sound.h
@@ -1,5 +1,4 @@
-#ifndef _UBOX_SOUND_H
-#define _UBOX_SOUND_H
+#pragma once
#ifndef UBOX_SOUND_DIVIDER
/* ubox_sound_update will be called from the timer int, so we update every
@@ -28,5 +27,3 @@ void ubox_sound_play_efx(uint8_t efxno);
void ubox_sound_mute();
void ubox_sound_unmute();
-
-#endif /* _UBOX_SOUND_H */