]> sjero.net Git - wget/commit
removed 'const' warnings.
authorTim Ruehsen <tim.ruehsen@gmx.de>
Mon, 14 May 2012 15:32:55 +0000 (17:32 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 14 May 2012 21:20:10 +0000 (23:20 +0200)
commit2e86829809c4a89eec3f13f8ad86a26c6c9c55de
tree525b55d969989261a4fa11029b51fe98df6602cb
parentd19cc259cb9dadfa55f1065a4cdfe338eec28b9d
removed 'const' warnings.

* hash.h (hash_table_put): Make argument "value" const.
* hash.c (hash_table_put): Make argument value const.  Cast `value' to
void.
* http.c (request_set_header): Make argument `name' const.  Cast `value'
and `name' to void*.
(request_remove_header): Make argument `name' const.
* url.c (url_file_name): Make `index_filename' static.
* warc.h (warc_write_cdx_record): Make `url', `timestamp', `mime_type',
`payload_digest', `redirect_location', `warc_filename', response_uuid'
arguments const. Make `checksum' const.
* warc.c (warc_write_date_header): Make the `timestamp' argument const.
Make `extension' const.
(warc_write_cdx_record): Make `url', `timestamp', `mime_type',
`payload_digest', `redirect_location', `warc_filename', response_uuid'
arguments const. Make `checksum' const.
src/ChangeLog
src/hash.c
src/hash.h
src/http.c
src/url.c
src/warc.c
src/warc.h