diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2006-11-10 11:52:08 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2006-11-10 11:52:08 +0000 |
commit | bd8f6a4f7e1643be55b4e64daf97793fa2e85a2f (patch) | |
tree | f926e049b6d0d8ba994941540c58bd9629f5895f /xtract/libxtract.h | |
parent | 85ce7491a7671b6e9d7e1c60ddb31556b5bf23ca (diff) | |
download | LibXtract-bd8f6a4f7e1643be55b4e64daf97793fa2e85a2f.tar.gz LibXtract-bd8f6a4f7e1643be55b4e64daf97793fa2e85a2f.tar.bz2 LibXtract-bd8f6a4f7e1643be55b4e64daf97793fa2e85a2f.zip |
Fixed Mac OS X crash by declaring xtract and xtract_help_strings as
extern
Diffstat (limited to 'xtract/libxtract.h')
-rw-r--r-- | xtract/libxtract.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtract/libxtract.h b/xtract/libxtract.h index 5931351..6e76ff3 100644 --- a/xtract/libxtract.h +++ b/xtract/libxtract.h @@ -176,14 +176,14 @@ printf("Mean = %.2f\n", mean); * */ #ifdef XTRACT -int(*xtract[XTRACT_FEATURES])(float *data, int N, void *argv, float *result); +extern int(*xtract[XTRACT_FEATURES])(float *data, int N, void *argv, float *result); /** \brief An array of pointers to function help strings * * Defined in libxtract.c. As a minimum this will contain pointers to the names of all of the feature extraction functions in the library. This is intended as a 'quick reference' to be queried as necessary. */ -char *xtract_help_strings[XTRACT_FEATURES]; +extern char *xtract_help_strings[XTRACT_FEATURES]; #endif /** \brief A structure to store a set of n_filters Mel filters */ |