Changeset 946 for trunk/src


Ignore:
Timestamp:
05/25/07 10:51:17 (5 years ago)
Author:
aj
Message:

fix more warnings / missing static declarations and replace 0/NULL for pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ifd/conf.c

    r774 r946  
    9292 * Parse list of statements 
    9393 */ 
    94 int conf_parse_group(ifd_conf_node_t * group, char closing) 
     94static int conf_parse_group(ifd_conf_node_t * group, char closing) 
    9595{ 
    9696        ifd_conf_node_t *node; 
     
    173173 * Debugging - dump the config tree 
    174174 */ 
    175 void conf_dump(ifd_conf_node_t * node, int indent) 
     175static void conf_dump(ifd_conf_node_t * node, int indent) 
    176176{ 
    177177        for (; node; node = node->next) { 
     
    196196 * Config node handling 
    197197 */ 
    198 ifd_conf_node_t *conf_add_node(ifd_conf_node_t * parent, const char *name) 
     198static ifd_conf_node_t *conf_add_node(ifd_conf_node_t * parent, const char *name) 
    199199{ 
    200200        ifd_conf_node_t **p, *node; 
     
    280280                return -1; 
    281281 
    282         *result = strtoul(node->value, 0, 0); 
     282        *result = strtoul(node->value, NULL, 0); 
    283283        return 0; 
    284284} 
     
    347347 * Tokenizer 
    348348 */ 
    349 int get_token(char **tok) 
     349static int get_token(char **tok) 
    350350{ 
    351351        static char buffer[512]; 
     
    399399 * Check if we're at the end of the file 
    400400 */ 
    401 int ateof(void) 
     401static int ateof(void) 
    402402{ 
    403403        int retry = 1; 
     
    426426 * Eat initial white space from buffer 
    427427 */ 
    428 int skipws(void) 
     428static int skipws(void) 
    429429{ 
    430430        unsigned int m, n, in_comment = 0; 
Note: See TracChangeset for help on using the changeset viewer.