[Speex-dev] [PATCH] Add a (void) parameter list to a function declaration
Martin Storsjo
martin at martin.st
Fri Nov 3 10:11:13 UTC 2017
This fixes warnings in calling code about "this function declaration
is not a prototype".
---
include/speex/speex_stereo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/speex/speex_stereo.h b/include/speex/speex_stereo.h
index 5844f5a1..12af2bbf 100644
--- a/include/speex/speex_stereo.h
+++ b/include/speex/speex_stereo.h
@@ -61,7 +61,7 @@ typedef struct SpeexStereoState {
#define SPEEX_STEREO_STATE_INIT {1,.5,1,1,0,0}
/** Initialise/create a stereo stereo state */
-SpeexStereoState *speex_stereo_state_init();
+SpeexStereoState *speex_stereo_state_init(void);
/** Reset/re-initialise an already allocated stereo state */
void speex_stereo_state_reset(SpeexStereoState *stereo);
--
2.13.6 (Apple Git-96)
More information about the Speex-dev
mailing list