diff --git a/ChangeLog b/ChangeLog index e54ac8832..179d817a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-07-30 Jim Blandy + + * configure.in: Don't use -Wstrict-prototypes after all. + * configure: Regenerated. + 1998-07-29 Jim Blandy * configure.in: Request more warnings. diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 89a46132f..e39d4149f 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,47 @@ +1998-07-30 Jim Blandy + + Changes to avoid signed/unsigned comparison warnings. + * gc.c (scm_mtrigger, scm_heap_size): Make these unsigned longs. + (scm_gc_sweep): Make n and j local to the blocks they're used in, + so they can have appropriate types for each application. Make i + signed. Use initializers in some spots. I'll probably pay for + all this tweaking. + (scm_must_malloc, scm_must_realloc): Use scm_sizet for size args. + (scm_must_realloc): Make nm unsigned. + (init_heap_seg): Make new_seg_index and n_new_objects signed. + (scm_init_storage): Use prototype-style definition, and make the + argument unsigned. + * gc.h (scm_heap_size, scm_mtrigger, scm_must_malloc, + scm_must_realloc, scm_init_storage): Adjust prototype accordingly. + + * filesys.c (scm_readlink): Make local vars rv and size ints, to + avoid signed/unsigned comparison warnings, and because the return + value of readlink may be -1. Don't bother casting the third + argument to readlink. + + * filesys.c (scm_dirname, scm_basename): Move these to their own + page, at the end of the file. + * filesys.h (scm_dirname, scm_basename): Add prototypes for these. + + * eval.h (scm_eval_options_interface): Add external prototype for this. + * eval.c (scm_eval_options_interface): Use prototype-style def'n. + + * eval.c (scm_lookupcar1): Make this static. + + * dynl.h (scm_registered_modules, scm_clear_registered_modules): + Make these prototype declarations, not K&R-style. + + * chars.c (scm_tables_prehistory): Add cast, to remove signed/ + unsigned comparison warning. + + * appinit.c: File removed. It had a single function in it, empty, + whose reason for existence is explained in no documentation or + comment. I think it's there as a default for some Tcl-style + initialization, but Tcl abandoned that approach a while ago. + * Makefile.am (libguile_la_SOURCES): Remove appinit.c. + (BUILT_SOURCES): Remove appinit.x. + * Makefile.in: Regenerated. + 1998-07-29 Jim Blandy * Makefile.in: Regenerated using the last public version of diff --git a/qt/ChangeLog b/qt/ChangeLog index cd47c5b4b..0a21ce853 100644 --- a/qt/ChangeLog +++ b/qt/ChangeLog @@ -1,3 +1,7 @@ +1998-07-30 Jim Blandy + + * qt.h.in (qt_null, qt_error): Add prototypes for these. + 1998-07-29 Jim Blandy * Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated using