mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
build with all the strict flags on
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@402 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
@@ -27,6 +27,8 @@ hashtable_iterator(struct hashtable *h);
|
||||
/*****************************************************************************/
|
||||
/* hashtable_iterator_key
|
||||
* - return the value of the (key,value) pair at the current position */
|
||||
extern __inline__ void *
|
||||
hashtable_iterator_key(struct hashtable_itr *i);
|
||||
|
||||
extern __inline__ void *
|
||||
hashtable_iterator_key(struct hashtable_itr *i)
|
||||
@@ -37,6 +39,9 @@ hashtable_iterator_key(struct hashtable_itr *i)
|
||||
/*****************************************************************************/
|
||||
/* value - return the value of the (key,value) pair at the current position */
|
||||
|
||||
extern __inline__ void *
|
||||
hashtable_iterator_value(struct hashtable_itr *i);
|
||||
|
||||
extern __inline__ void *
|
||||
hashtable_iterator_value(struct hashtable_itr *i)
|
||||
{
|
||||
|
@@ -77,7 +77,7 @@ struct zap_config {
|
||||
/*! FILE stream buffer to the opened file */
|
||||
FILE *file;
|
||||
/*! path to the file */
|
||||
char *path;
|
||||
const char *path;
|
||||
/*! current category */
|
||||
char category[256];
|
||||
/*! current section */
|
||||
@@ -100,7 +100,7 @@ struct zap_config {
|
||||
\param file_path path to the file
|
||||
\return 1 (true) on success 0 (false) on failure
|
||||
*/
|
||||
int zap_config_open_file(zap_config_t * cfg, char *file_path);
|
||||
int zap_config_open_file(zap_config_t * cfg, const char *file_path);
|
||||
|
||||
/*!
|
||||
\brief Close a previously opened configuration file
|
||||
|
@@ -412,7 +412,7 @@ typedef zap_status_t (*zio_write_t) ZIO_WRITE_ARGS ;
|
||||
typedef struct zap_fsk_data_state zap_fsk_data_state_t;
|
||||
typedef int (*zap_fsk_data_decoder_t)(zap_fsk_data_state_t *state);
|
||||
typedef zap_status_t (*zap_fsk_write_sample_t)(int16_t *buf, zap_size_t buflen, void *user_data);
|
||||
typedef void (*zap_logger_t)(char *file, const char *func, int line, int level, char *fmt, ...);
|
||||
typedef void (*zap_logger_t)(const char *file, const char *func, int line, int level, const char *fmt, ...);
|
||||
typedef struct zap_io_interface zap_io_interface_t;
|
||||
typedef struct hashtable zap_hash_t;
|
||||
typedef struct hashtable_itr zap_hash_itr_t;
|
||||
|
Reference in New Issue
Block a user