summaryrefslogtreecommitdiff
path: root/src/libpiano
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-03-25 12:30:33 +0100
committerLars-Dominik Braun <lars@6xq.net>2017-03-25 12:30:33 +0100
commit152657501adf3afe9896ac0c118f94d3c7747c8b (patch)
tree9271299efe871a2ae864ad337f0ddbb217b3b5f7 /src/libpiano
parent43153057c66f4cf1ed6a97671e9aa59e0eacb3bd (diff)
downloadpianobar-152657501adf3afe9896ac0c118f94d3c7747c8b.tar.gz
pianobar-152657501adf3afe9896ac0c118f94d3c7747c8b.tar.bz2
pianobar-152657501adf3afe9896ac0c118f94d3c7747c8b.zip
Switch to #pragma once
Diffstat (limited to 'src/libpiano')
-rw-r--r--src/libpiano/crypt.h4
-rw-r--r--src/libpiano/piano.h4
-rw-r--r--src/libpiano/piano_private.h4
3 files changed, 3 insertions, 9 deletions
diff --git a/src/libpiano/crypt.h b/src/libpiano/crypt.h
index fc7c205..aac83ca 100644
--- a/src/libpiano/crypt.h
+++ b/src/libpiano/crypt.h
@@ -21,8 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-#ifndef SRC_LIBPIANO_CRYPT_H_O832IVGK
-#define SRC_LIBPIANO_CRYPT_H_O832IVGK
+#pragma once
#ifdef __FreeBSD__
#define _GCRYPT_IN_LIBGCRYPT
@@ -33,4 +32,3 @@ char *PianoDecryptString (gcry_cipher_hd_t, const char * const,
size_t * const);
char *PianoEncryptString (gcry_cipher_hd_t, const char *);
-#endif /* SRC_LIBPIANO_CRYPT_H_O832IVGK */
diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h
index 1a84d4a..7f31397 100644
--- a/src/libpiano/piano.h
+++ b/src/libpiano/piano.h
@@ -21,8 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-#ifndef SRC_LIBPIANO_PIANO_H_MFBT13PN
-#define SRC_LIBPIANO_PIANO_H_MFBT13PN
+#pragma once
#include "../config.h"
@@ -367,4 +366,3 @@ PianoStation_t *PianoFindStationById (PianoStation_t * const,
const char * const);
const char *PianoErrorToStr (PianoReturn_t);
-#endif /* SRC_LIBPIANO_PIANO_H_MFBT13PN */
diff --git a/src/libpiano/piano_private.h b/src/libpiano/piano_private.h
index bc0cc0e..ffc14c8 100644
--- a/src/libpiano/piano_private.h
+++ b/src/libpiano/piano_private.h
@@ -21,12 +21,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-#ifndef SRC_LIBPIANO_PIANO_PRIVATE_H_C35CDGGL
-#define SRC_LIBPIANO_PIANO_PRIVATE_H_C35CDGGL
+#pragma once
#include "piano.h"
void PianoDestroyStation (PianoStation_t *station);
void PianoDestroyUserInfo (PianoUserInfo_t *user);
-#endif /* SRC_LIBPIANO_PIANO_PRIVATE_H_C35CDGGL */