ref: 50e37a320850daae24546913f119f7923eb33eef
parent: 0eb7392e2192e674ce89e365e9a0c0df886237e8
parent: 7a59c2fb3d1c5d7faa511ea91745fe73f78a127f
author: Lion <lieff@users.noreply.github.com>
date: Thu Jan 25 14:06:08 EST 2018
Merge pull request #9 from manxorist/impl-prototypes Avoid warnings when compiling with -Wmissing-prototypes
--- a/minimp3.h
+++ b/minimp3.h
@@ -27,8 +27,6 @@
unsigned char reserv_buf[511];
} mp3dec_t;
-#ifndef MINIMP3_IMPLEMENTATION
-
#ifdef __cplusplus
extern "C" {
#endif //__cplusplus
@@ -40,7 +38,7 @@
}
#endif //__cplusplus
-#else //MINIMP3_IMPLEMENTATION
+#ifdef MINIMP3_IMPLEMENTATION
#include <stdlib.h>
#include <string.h>