aboutsummaryrefslogtreecommitdiffstats
path: root/src/AudioParser.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/AudioParser.hxx (renamed from src/audio_parser.h)16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/audio_parser.h b/src/AudioParser.hxx
index bbe868f61..f7855e8e3 100644
--- a/src/audio_parser.h
+++ b/src/AudioParser.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -22,19 +22,13 @@
* Parser functions for audio related objects.
*/
-#ifndef AUDIO_PARSER_H
-#define AUDIO_PARSER_H
+#ifndef MPD_AUDIO_PARSER_HXX
+#define MPD_AUDIO_PARSER_HXX
#include "gerror.h"
-#include <stdbool.h>
-
struct audio_format;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Parses a string in the form "SAMPLE_RATE:BITS:CHANNELS" into an
* #audio_format.
@@ -50,8 +44,4 @@ bool
audio_format_parse(struct audio_format *dest, const char *src,
bool mask, GError **error_r);
-#ifdef __cplusplus
-}
-#endif
-
#endif