summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polyplib-error.h')
-rw-r--r--polyp/polyplib-error.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/polyp/polyplib-error.h b/polyp/polyplib-error.h
index d76ce6ff..d7519af4 100644
--- a/polyp/polyplib-error.h
+++ b/polyp/polyplib-error.h
@@ -23,15 +23,13 @@
***/
#include <inttypes.h>
+#include "cdecl.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+PA_C_DECL_BEGIN;
+/** Return a human readable error message for the specified numeric error code */
const char* pa_strerror(uint32_t error);
-#ifdef __cplusplus
-}
-#endif
-
+PA_C_DECL_END;
+
#endif