diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-04-22 11:44:54 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-04-22 11:44:54 +0200 |
commit | 4d8ad7d87072bc1631d0b949930f4869e56b7b99 (patch) | |
tree | 304498a232ad457ff6937d94266e3a86c5d3eab5 /src/libpiano | |
parent | 274324aab47c51d6c07ace5e219d196077c3e5d1 (diff) | |
download | pianobar-windows-4d8ad7d87072bc1631d0b949930f4869e56b7b99.tar.gz pianobar-windows-4d8ad7d87072bc1631d0b949930f4869e56b7b99.tar.bz2 pianobar-windows-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/libpiano')
-rw-r--r-- | src/libpiano/piano.h | 6 | ||||
-rw-r--r-- | src/libpiano/piano_private.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h index e97649e..d8ac4d1 100644 --- a/src/libpiano/piano.h +++ b/src/libpiano/piano.h @@ -21,8 +21,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _PIANO_H -#define _PIANO_H +#ifndef SRC_LIBPIANO_PIANO_H_MFBT13PN +#define SRC_LIBPIANO_PIANO_H_MFBT13PN #include <stdbool.h> #ifdef __FreeBSD__ @@ -346,4 +346,4 @@ PianoStation_t *PianoFindStationById (PianoStation_t * const, const char * const); const char *PianoErrorToStr (PianoReturn_t); -#endif /* _PIANO_H */ +#endif /* SRC_LIBPIANO_PIANO_H_MFBT13PN */ diff --git a/src/libpiano/piano_private.h b/src/libpiano/piano_private.h index 751f98d..bc0cc0e 100644 --- a/src/libpiano/piano_private.h +++ b/src/libpiano/piano_private.h @@ -21,12 +21,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _PIANO_PRIVATE_H -#define _PIANO_PRIVATE_H +#ifndef SRC_LIBPIANO_PIANO_PRIVATE_H_C35CDGGL +#define SRC_LIBPIANO_PIANO_PRIVATE_H_C35CDGGL #include "piano.h" void PianoDestroyStation (PianoStation_t *station); void PianoDestroyUserInfo (PianoUserInfo_t *user); -#endif /* _PIANO_PRIVATE_H */ +#endif /* SRC_LIBPIANO_PIANO_PRIVATE_H_C35CDGGL */ |