You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/07/27 04:29:55 UTC

things needing static, or prototypes

Ok I've finished adding statics to all the modules.  But I didn't touch
any of the other files... below you'll find a list of all the functions
which are extern, but have no prototype.  These are what I think should
also have static added, modulo what Doug needs for mod_perl.  The stuff
Doug needs should be prototyped in a _PRIVATE section of some header file.

This is gcc -Wmissing-prototypes output.

Dean

alloc.c:108: warning: no previous prototype for `malloc_block'
alloc.c:126: warning: no previous prototype for `chk_on_blk_list'
alloc.c:141: warning: no previous prototype for `free_blocks'
alloc.c:184: warning: no previous prototype for `new_block'
alloc.c:215: warning: no previous prototype for `bytes_in_block_list'

http_main.c:253: warning: no previous prototype for `accept_mutex_init'
http_main.c:278: warning: no previous prototype for `accept_mutex_on'
http_main.c:292: warning: no previous prototype for `accept_mutex_off'
http_main.c:356: warning: no previous prototype for `usage'
http_main.c:402: warning: no previous prototype for `timeout'
http_main.c:1030: warning: no previous prototype for `reinit_scoreboard'
http_main.c:1061: warning: no previous prototype for `reopen_scoreboard'
http_main.c:1092: warning: no previous prototype for `cleanup_scoreboard'
http_main.c:1434: warning: no previous prototype for `sig_term'
http_main.c:1444: warning: no previous prototype for `bus_error'
http_main.c:1460: warning: no previous prototype for `seg_fault'
http_main.c:1477: warning: no previous prototype for `just_die'
http_main.c:1505: warning: no previous prototype for `set_signals'
http_main.c:1556: warning: no previous prototype for `detach'
http_main.c:1658: warning: no previous prototype for `init_suexec'
http_main.c:1711: warning: no previous prototype for `default_server_hostnames'
http_main.c:1811: warning: no previous prototype for `new_connection'
http_main.c:2073: warning: no previous prototype for `AMCSocketInitialize'
http_main.c:2114: warning: no previous prototype for `AMCSocketCleanup'
http_main.c:2139: warning: no previous prototype for `child_main'
http_main.c:2593: warning: no previous prototype for `standalone_main'

http_core.c:80: warning: no previous prototype for `create_core_dir_config'
http_core.c:116: warning: no previous prototype for `merge_core_dir_configs'
http_core.c:180: warning: no previous prototype for `create_core_server_config'
http_core.c:194: warning: no previous prototype for `merge_core_server_configs'
http_core.c:214: warning: no previous prototype for `add_per_dir_conf'
http_core.c:223: warning: no previous prototype for `add_per_url_conf'
http_core.c:232: warning: no previous prototype for `add_file_conf'
http_core.c:414: warning: no previous prototype for `set_access_name'
http_core.c:423: warning: no previous prototype for `set_document_root'
http_core.c:439: warning: no previous prototype for `set_error_document'
http_core.c:478: warning: no previous prototype for `set_override'
http_core.c:506: warning: no previous prototype for `set_options'
http_core.c:557: warning: no previous prototype for `satisfy'
http_core.c:568: warning: no previous prototype for `require'
http_core.c:581: warning: no previous prototype for `limit_section'
http_core.c:603: warning: no previous prototype for `endlimit_section'
http_core.c:612: warning: no previous prototype for `end_dirsection'
http_core.c:617: warning: no previous prototype for `dirsection'
http_core.c:662: warning: no previous prototype for `end_urlsection'
http_core.c:667: warning: no previous prototype for `urlsection'
http_core.c:711: warning: no previous prototype for `end_filesection'
http_core.c:716: warning: no previous prototype for `filesection'
http_core.c:765: warning: no previous prototype for `end_ifmod'
http_core.c:770: warning: no previous prototype for `start_ifmod'
http_core.c:800: warning: no previous prototype for `end_virtualhost_section'
http_core.c:805: warning: no previous prototype for `virtualhost_section'
http_core.c:840: warning: no previous prototype for `add_module_command'
http_core.c:847: warning: no previous prototype for `clear_module_list_command'
http_core.c:853: warning: no previous prototype for `set_server_string_slot'
http_core.c:864: warning: no previous prototype for `server_type'
http_core.c:872: warning: no previous prototype for `server_port'
http_core.c:877: warning: no previous prototype for `set_send_buffer_size'
http_core.c:890: warning: no previous prototype for `set_user'
http_core.c:923: warning: no previous prototype for `set_group'
http_core.c:939: warning: no previous prototype for `set_server_root'
http_core.c:946: warning: no previous prototype for `set_timeout'
http_core.c:951: warning: no previous prototype for `set_keep_alive_timeout'
http_core.c:956: warning: no previous prototype for `set_keep_alive'
http_core.c:967: warning: no previous prototype for `set_keep_alive_max'
http_core.c:972: warning: no previous prototype for `set_pidfile'
http_core.c:977: warning: no previous prototype for `set_scoreboard'
http_core.c:982: warning: no previous prototype for `set_lockfile'
http_core.c:987: warning: no previous prototype for `set_idcheck'
http_core.c:993: warning: no previous prototype for `set_hostname_lookups'
http_core.c:998: warning: no previous prototype for `set_serverpath'
http_core.c:1004: warning: no previous prototype for `set_content_md5'
http_core.c:1009: warning: no previous prototype for `set_daemons_to_start'
http_core.c:1014: warning: no previous prototype for `set_min_free_servers'
http_core.c:1026: warning: no previous prototype for `set_max_free_servers'
http_core.c:1031: warning: no previous prototype for `set_server_limit'
http_core.c:1047: warning: no previous prototype for `set_max_requests'
http_core.c:1052: warning: no previous prototype for `set_threads'
http_core.c:1057: warning: no previous prototype for `set_excess_requests'
http_core.c:1123: warning: no previous prototype for `set_limit_cpu'
http_core.c:1131: warning: no previous prototype for `set_limit_mem'
http_core.c:1143: warning: no previous prototype for `set_limit_nproc'
http_core.c:1149: warning: no previous prototype for `set_bind_address'
http_core.c:1155: warning: no previous prototype for `set_listener'
http_core.c:1188: warning: no previous prototype for `set_listenbacklog'
http_core.c:1332: warning: no previous prototype for `core_translate'
http_core.c:1355: warning: no previous prototype for `do_nothing'
http_core.c:1366: warning: no previous prototype for `default_handler'

http_config.c:119: warning: no previous prototype for `create_empty_config'
http_config.c:126: warning: no previous prototype for `create_default_per_dir_config'
http_config.c:162: warning: no previous prototype for `create_server_config'
http_config.c:175: warning: no previous prototype for `merge_server_configs'
http_config.c:195: warning: no previous prototype for `create_connection_config'
http_config.c:560: warning: no previous prototype for `invoke_cmd'
http_config.c:721: warning: no previous prototype for `find_command'
http_config.c:732: warning: no previous prototype for `find_command_in_modules'
http_config.c:746: warning: no previous prototype for `handle_command'
http_config.c:1102: warning: no previous prototype for `fixup_virtual_hosts'
http_config.c:1145: warning: no previous prototype for `init_config_globals'
http_config.c:1166: warning: no previous prototype for `init_server_config'
http_config.c:1268: warning: no previous prototype for `show_overrides'

http_request.c:107: warning: no previous prototype for `check_symlinks'
http_request.c:159: warning: no previous prototype for `get_path_info'
http_request.c:451: warning: no previous prototype for `location_walk'
http_request.c:517: warning: no previous prototype for `file_walk'
http_request.c:595: warning: no previous prototype for `make_sub_request'
http_request.c:788: warning: no previous prototype for `die'
http_request.c:897: warning: no previous prototype for `process_request_internal'
http_request.c:1061: warning: no previous prototype for `rename_original_env'
http_request.c:1077: warning: no previous prototype for `internal_internal_redirect'

http_log.c:96: warning: no previous prototype for `open_error_log'

http_protocol.c:551: warning: no previous prototype for `check_fulluri'
http_protocol.c:604: warning: no previous prototype for `read_request_line'
http_protocol.c:660: warning: no previous prototype for `get_mime_headers'
http_protocol.c:749: warning: no previous prototype for `check_serverpath'
http_protocol.c:1046: warning: no previous prototype for `basic_http_header'

util.c:788: warning: no previous prototype for `plustospace'
util.c:794: warning: no previous prototype for `spacetoplus'

explain.c:6: warning: no previous prototype for `_Explain'