dtmf: Update dtmfdetect to make it MSVC friendly

https://bugzilla.gnome.org/show_bug.cgi?id=602465
This commit is contained in:
Olivier Crête 2009-11-19 20:33:07 -05:00
parent 12837a2611
commit 1f04af784c
2 changed files with 7 additions and 1 deletions

View file

@ -32,7 +32,6 @@
*/
#include <math.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <time.h>

View file

@ -30,6 +30,11 @@
detriment.
*/
#ifndef __TONE_DETECT_H__
#define __TONE_DETECT_H__
#include <stdint.h>
typedef struct
{
float v2;
@ -83,4 +88,6 @@ int zap_dtmf_get (dtmf_detect_state_t *s,
char *buf,
int max);
#endif /* __TONE_DETECT_H__ */
/*- End of file ------------------------------------------------------------*/