Remove unnecessary forward struct declarations
This commit is contained in:
parent
aafe48ae0d
commit
eed54b197b
@ -53,7 +53,6 @@ CFU_BEGIN_DECLS
|
|||||||
typedef enum { libcfu_t_none = 0, libcfu_t_hash_table, libcfu_t_list, libcfu_t_string,
|
typedef enum { libcfu_t_none = 0, libcfu_t_hash_table, libcfu_t_list, libcfu_t_string,
|
||||||
libcfu_t_time, libcfu_t_conf } libcfu_type;
|
libcfu_t_time, libcfu_t_conf } libcfu_type;
|
||||||
|
|
||||||
struct libcfu_item;
|
|
||||||
typedef struct libcfu_item libcfu_item_t;
|
typedef struct libcfu_item libcfu_item_t;
|
||||||
|
|
||||||
extern libcfu_type cfu_get_type(void *item);
|
extern libcfu_type cfu_get_type(void *item);
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
|
|
||||||
CFU_BEGIN_DECLS
|
CFU_BEGIN_DECLS
|
||||||
|
|
||||||
struct cfuconf;
|
|
||||||
typedef struct cfuconf cfuconf_t;
|
typedef struct cfuconf cfuconf_t;
|
||||||
|
|
||||||
/* Apache-style conf files contain directives and containers.
|
/* Apache-style conf files contain directives and containers.
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
CFU_BEGIN_DECLS
|
CFU_BEGIN_DECLS
|
||||||
|
|
||||||
/* The hash table itself. */
|
/* The hash table itself. */
|
||||||
struct cfuhash_table;
|
|
||||||
typedef struct cfuhash_table cfuhash_table_t;
|
typedef struct cfuhash_table cfuhash_table_t;
|
||||||
|
|
||||||
/* Prototype for a pointer to a hashing function. */
|
/* Prototype for a pointer to a hashing function. */
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
CFU_BEGIN_DECLS
|
CFU_BEGIN_DECLS
|
||||||
|
|
||||||
/* The list itself. */
|
/* The list itself. */
|
||||||
struct cfulist;
|
|
||||||
typedef struct cfulist cfulist_t;
|
typedef struct cfulist cfulist_t;
|
||||||
|
|
||||||
/* Function called for each element in the list when passed to
|
/* Function called for each element in the list when passed to
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
|
|
||||||
CFU_BEGIN_DECLS
|
CFU_BEGIN_DECLS
|
||||||
|
|
||||||
struct cfuopt_struct;
|
|
||||||
typedef struct cfuopt_struct cfuopt_t;
|
typedef struct cfuopt_struct cfuopt_t;
|
||||||
|
|
||||||
/* Returns a new options context */
|
/* Returns a new options context */
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
|
|
||||||
CFU_BEGIN_DECLS
|
CFU_BEGIN_DECLS
|
||||||
|
|
||||||
struct cfustring;
|
|
||||||
typedef struct cfustring cfustring_t;
|
typedef struct cfustring cfustring_t;
|
||||||
|
|
||||||
/* Returns a new String. */
|
/* Returns a new String. */
|
||||||
|
@ -53,7 +53,6 @@ CFU_BEGIN_DECLS
|
|||||||
* cfuthread_queue_new() function.
|
* cfuthread_queue_new() function.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct cfuthread_queue;
|
|
||||||
typedef struct cfuthread_queue cfuthread_queue_t;
|
typedef struct cfuthread_queue cfuthread_queue_t;
|
||||||
|
|
||||||
typedef void * (*cfuthread_queue_fn_t)(void *arg);
|
typedef void * (*cfuthread_queue_fn_t)(void *arg);
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
|
|
||||||
CFU_BEGIN_DECLS
|
CFU_BEGIN_DECLS
|
||||||
|
|
||||||
struct cfutime;
|
|
||||||
typedef struct cfutime cfutime_t;
|
typedef struct cfutime cfutime_t;
|
||||||
|
|
||||||
/* Return a new cfutime structure. */
|
/* Return a new cfutime structure. */
|
||||||
|
Reference in New Issue
Block a user