code lint and optimize code style

This commit is contained in:
Nick Peng
2019-02-22 23:14:42 +08:00
parent c0c6fde39d
commit 7828f0ec27
28 changed files with 705 additions and 513 deletions

View File

@@ -86,7 +86,7 @@ struct config_item_size {
#define CONF_END() \
{ \
0, 0, 0 \
NULL, NULL, NULL \
}
extern int conf_custom(const char *item, void *data, int argc, char *argv[]);
@@ -118,4 +118,4 @@ int load_conf(const char *file, struct config_item items[], conf_error_handler h
void load_exit(void);
#endif // !_GENERIC_CONF_H
#endif // !_GENERIC_CONF_H