1. 03 Feb, 2011 1 commit
    • libiberty: documentation markup and order fixes. · 996c0cb0
      libiberty/:
      	* splay-tree.c: Escape wrapping newlines in texinfo markup
      	with '@', to fix function declaration output rendering.
      	* gather-docs: Relax and improve macro name matching to actually
      	match all current names and to allow input line wrapping.
      	* bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
      	hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
      	memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
      	pexecute.txh, random.c, setenv.c, setproctitle.c,
      	simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
      	strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
      	Wrap long texinfo input lines.
      	* functions.texi: Regenerate.
      
      From-SVN: r169783
      Ralf Wildenhues committed
  2. 22 Jul, 2005 1 commit
  3. 27 Mar, 2005 1 commit
    • md5.h: Remove definition and uses of __P. · 6da879de
      include/
      2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
      	* md5.h: Remove definition and uses of __P.
      	* dyn-string.h: Remove uses of PARAMS.
      	* fibheap.h: Likewise.
      	* floatformat.h: Likewise.
      	* hashtab.h: Likewise.
      
      libiberty/
      
      2005-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
      	Convert libiberty to use ISO C prototype style 4/n.
      	* hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
      	htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
      	htab_create_alloc, htab_set_functions_ex, htab_create,
      	htab_try_create, htab_delete, htab_empty,
      	find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
      	htab_find, htab_find_slot_with_hash, htab_find_slot,
      	htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
      	htab_traverse_noresize, htab_traverse, htab_collisions,
      	htab_hash_string, iterative_hash): Use ISO C prototype.
      	* hex.c (hex_init): Likewise.
      	* index.c (index): Likewise.
      	* insque.c (insque, remque): Likewise.
      	* lbasename.c (lbasename): Likewise.
      	* lrealpath.c (lrealpath): Likewise.
      	* make-relative-prefix.c (save_string, split_directories,
      	free_split_directories, make_relative_prefix): Likewise.
      	* make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
      	* md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
      	md5_buffer, md5_process_bytes, md5_process_block): Likewise.
      	* memchr.c (memchr): Likewise.
      	* memcpy.c (memcpy): Likewise.
      	* memmove.c (memmove): Likewise.
      	* gettimeofday.c (gettimeofday): Likewise.
      	* getruntime.c (get_run_time): Likewise.
      	* getpwd.c (getpwd, getpwd): Likewise.
      	* getpagesize.c (getpagesize): Likewise.
      	* getopt1.c (getopt_long, getopt_long_only, main): Likewise.
      	* getopt.c (my_index, exchange, _getopt_initialize,
      	_getopt_internal, getopt, main): Likewise.
      	* getcwd.c (getcwd): Likewise.
      	* fnmatch.c (fnmatch): Likewise.
      	* floatformat.c (floatformat_always_valid,
      	floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
      	put_field, floatformat_from_double, floatformat_is_valid,
      	ieee_test, main): Likewise.
      	* fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
      	fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
      	fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
      	fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
      	fibheap_delete, fibheap_empty, fibheap_extr_min_node,
      	fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
      	fibheap_link, fibheap_cut, fibheap_cascading_cut,
      	fibnode_insert_after, fibnode_remove): Likewise.
      	* ffs.c (ffs): Likewise.
      	* fdmatch.c (fdmatch): Likewise.
      	* dyn-string.c (dyn_string_init, dyn_string_new,
      	dyn_string_delete, dyn_string_release, dyn_string_resize,
      	dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
      	dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
      	dyn_string_insert_cstr, dyn_string_insert_char,
      	dyn_string_append, dyn_string_append_cstr,
      	dyn_string_append_char, dyn_string_substring, dyn_string_eq):
      	Likewise.
      
      From-SVN: r97113
      Gabriel Dos Reis committed
  4. 15 Apr, 2003 1 commit
    • argv.c: Use ANSI_PROTOTYPES instead of __STDC__. · 0ae0f1b0
      	* argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
      	* memchr.c: Likewise.
      	* strcasecmp.c: Likewise.
      	* strncasecmp.c: Likewise.
      	* strncmp.c: Likewise.
      	* xatexit.c: Likewise.
      	* xmalloc.c: Likewise.
      
      	* copysign.c: Use traditional function declaration instead of DEFUN.
      	* sigsetmask.c: Likewise.
      
      	* memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
      	* memset.c: Likewise.
      
      	* memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
      	* memmove.c: Likewise.
      
      From-SVN: r65619
      Roger Sayle committed
  5. 26 Sep, 2001 1 commit
    • configure.in (MAKEINFO, PERL): Detect these. · aaa5f039
      * configure.in (MAKEINFO, PERL): Detect these.
      (--enable-maintainer-mode): Add.
      * configure: Regenerate.
      * Makefile.in (MAKEINFO, PERL): Define.
      (libiberty.info, libiberty.dvi, libiberty.html): New.
      (CFILES): Add bsearch.c.
      (CONFIGURED_OFILES): New, list of objects configure might add.
      (maint-missing, maint-buildall): New, for maintainers only.
      (clean, mostlyclean): Add info/dvi/html files.
      * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
      * gather-docs: New, for maintainers.
      * maint-tool: New, for maintainers.
      * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
      bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
      getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
      memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
      sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
      strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
      tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
      xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
      documentation.
      
      Co-Authored-By: Phil Edwards <pedwards@disaster.jaj.com>
      
      From-SVN: r45828
      DJ Delorie committed
  6. 14 Dec, 1998 1 commit
    • choose-temp.c: Don't check IN_GCC anymore. · 11a0bb74
              * choose-temp.c: Don't check IN_GCC anymore.
              * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
              * memchr.c (memchr): Likewise.
              * memcpy.c (memcpy): Likewise.
              * memmove.c (memmove): Likewise.
              * mkstemp.c: Don't check IN_GCC anymore.
              * pexecute.c: Likewise.
              * splay-tree.c: Likewise.
              * strchr.c (strchr): Use `const', not `CONST'.
              * strrchr.c (strrchr): Likewise.
              * strtol.c (strtol): Likewise.
              * strtoul.c (strtoul): Likewise.
      
      From-SVN: r24307
      Kaveh R. Ghazi committed
  7. 21 Aug, 1997 1 commit