]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Allow Wget to be compiled with a K&R compiler.
[wget] / src / ChangeLog
index 24227f9925ca8b92d733574b98edb8bff786d211..f84d5294e3180ffb3b43d32ef39b9dbf59bb3ea6 100644 (file)
@@ -1,3 +1,29 @@
+2002-04-11  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * progress.c (struct progress_implementation): Use PARAMS when
+       declaring the parameters of *create, *update, *finish, and
+       *set_params.
+
+       * netrc.c: Ditto.
+
+       * http.c: Reformat some function definitions so that ansi2knr can
+       read them.
+
+       * hash.c (struct hash_table): Use the PARAMS macro around
+       parameters in the declaration of hash_function and test_function.
+       (prime_size): Spell 2580823717UL and 3355070839UL as (unsigned
+       long)0x99d43ea5 and (unsigned long)0xc7fa5177 respectively, so
+       that pre-ANSI compilers can read them.
+       (find_mapping): Use PARAMS when declaring EQUALS.
+       (hash_table_put): Ditto.
+
+       * ftp.h: Wrap the parameters of ftp_index declaration in PARAMS.
+
+       * cookies.c (cookie_new): Use (unsigned long)0 instead of 0UL,
+       which was unsupported by pre-ANSI compilers.
+
+       From Nelson H. F. Beebe <beebe@math.utah.edu>, for the most part.
+
 2002-04-11  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * url.c (url_filename): Use compose_file_name regardless of