summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-09-10.Jim Meyering
2003-09-10Include <sys/types.h>, so that this file is self-contained.Jim Meyering
2003-09-10*** empty log message ***Jim Meyering
2003-09-10(programs, check-x-vs-1): Use ../src/tr -s ' ' '\n' in placeJim Meyering
of `fmt -1'. Using the just-built tr is a little cleaner. Christian Krackowizer reported that HPUX 10.20 doesn't have fmt.
2003-09-10(programs): Use ../src/tr -s ' ' '\n' in placeJim Meyering
of `fmt -1'. Using the just-built tr is a little cleaner. Christian Krackowizer reported that HPUX 10.20 doesn't have fmt.
2003-09-10Include readtokens.h first, to test interface.Jim Meyering
Include <stdlib.h>, <string.h> unconditionally. (init_tokenbuffer): Define with a prototype.
2003-09-10(malloc): Returns void *, not char *.Jim Meyering
Include <string.h> unconditionally. (strchr, memcpy, NULL): Do not define.
2003-09-10(getenv): Remove decl.Jim Meyering
2003-09-10Include <stdlib.h>, <string.h> unconditionally.Jim Meyering
(main): Define with a prototype.
2003-09-10(physmem_total, physmem_available, main): Define with prototypes.Jim Meyering
2003-09-10Include <stdlib.h>, <string.h> unconditionally.Jim Meyering
2003-09-10(POINTER): Remove. All uses changed to void *.Jim Meyering
(obstack_alloc_failed_handler, CALL_CHUNKFUN, CALL_FREEFUN, _obstack_begin, _obstack_begin_1, _obstack_allocated_p) (defined __STDC__ && __STDC__)]: Remove nonprototyped code. Include <stdlib.h> unconditionally. (_obstack_begin, _obstack_begin_1, _obstack_newchunk, _obstack_allocated_p, _obstack_free, obstack_free, _obstack_memory_used, print_and_abort): Define using prototypes. (obstack_1grow, obstack_1grow_fast, obstack_alloc, obstack_base, obstack_blank, obstack_blank_fast, obstack_copy, obstack_copy0, obstack_finish, obstack_grow, obstack_grow0, obstack_make_room, obstack_next_free, obstack_object_size, obstack_room) [0]: Remove unused, unprototyped code.
2003-09-10(PTR_INT_TYPE) [!defined __PTRDIFF_TYPE__]:Jim Meyering
Define to ptrdiff_t, without bothering to check HAVE_STDDEF_H. (This type really should be intptr_t, but that's a C99ism.) (_obstack_memcpy): Remove: all uses changed to memcpy. Include <string.h> unconditionally. (struct obstack): Assume __STDC__ for types of members chunkfun, freefun, extra_arg. (_obstack_newchunk, _obstack_free, _obstack_begin, _obstack_begin_1, _obstack_memory_used, obstack_alloc_failed_handler, obstack_init, obstack_begin, obstack_specify_allocation, obstack_specify_allocation_with_arg, obstack_chunkfun, obstack_freefun, obstack_free) [! (defined __STDC__ && __STDC__)]: Remove unprototyped decls and the macros that use them.
2003-09-10Include <stdlib.h>, <string.h> unconditionally.Jim Meyering
(free): Remove decl.
2003-09-10Include <stdlib.h> unconditionally.Jim Meyering
(malloc): Remove decl.
2003-09-10(STDC_HEADERS): Remove.Jim Meyering
Include <stdlib.h>, <string.h> unconditionally.
2003-09-10(rmdir): Define with a prototype.Jim Meyering
2003-09-10Include <stdlib.h>, <string.h> unconditionally.Jim Meyering
Include savedir.h first, to test interface.
2003-09-10Include <stdlib.h>, <string.h> unconditionally.Jim Meyering
(free): Remove decl.
2003-09-10Include <stddef.h>.Jim Meyering
Use types required by C89 in prototype.
2003-09-10Include <string.h> unconditionally.Jim Meyering
2003-09-10(__ptr_t): Remove; all uses changed to void *.Jim Meyering
Include <string.h> unconditionally. Include <limits.h> unconditionally. (LONG_MAX): Remove. (__memchr): Define via a prototype.
2003-09-10(__ptr_t): Remove; all uses changed to void *.Jim Meyering
Include <string.h> unconditionally. (__P): Remove, and remove all uses. (memcmp_bytes, memcmp_common_alignment, memcmp_not_common_alignment): Remove forward decls; no longer needed.
2003-09-10(__ptr_t): Remove; all uses changed to void *.Jim Meyering
Include <string.h> unconditionally. Include <limits.h> unconditionally. Include <stdlib.h> unconditionally. (LONG_MAX): Remove. (__memchr): Define via a prototype.
2003-09-10Include "sha.h" first.Jim Meyering
Include <stdlib.h>, <string.h> unconditionally.
2003-09-10(__P): Remove all uses. (It wasn't defined??)Jim Meyering
2003-09-10Include "md5.h" first.Jim Meyering
(md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream, md5_buffer, md5_process_bytes, md5_process_block): Define with prototypes.
2003-09-10Include <limits.h> unconditionally.Jim Meyering
(UINT_MAX_32_BITS): Don't worry about non-__STDC__ case. (__P): Remove; all uses removed.
2003-09-10(rpl_realloc): Likewise. Also, define with a prototype.Jim Meyering
2003-09-10Include <stdlib.h>, for malloc; don't bother with stddef.h.Jim Meyering
rpl_malloc returns void *, not char *.
2003-09-10Include <stdlib.h>.Jim Meyering
(free): Remove decl.
2003-09-10Include makepath.h first, to test interface.Jim Meyering
Include <stdlib.h> and <string.h> unconditionally.
2003-09-10Include long-options.h first, to test interface.Jim Meyering
Include <stdlib.h> unconditionally.
2003-09-10Include <string.h> unconditionally.Jim Meyering
2003-09-10Include <stdlib.h>, <string.h> unconditionally.Jim Meyering
(getenv): Do not declare.
2003-09-10(free, malloc): Remove decls.Jim Meyering
Include <stdlib.h> unconditionally.
2003-09-10Include hard-locale.h first.Jim Meyering
Include <stdlib.h>, <string.h> unconditionally.
2003-09-10Include group-member.h first.Jim Meyering
Include <stdlib.h> unconditionally.
2003-09-10Include <string.h> unconditionally.Jim Meyering
2003-09-10(const): Remove macro.Jim Meyering
(getopt_long, getopt_long_only, main): Define with prototype.
2003-09-10(const): Remove macro.Jim Meyering
Include <string.h> unconditionally. (my_index): Remove; all uses changed to strchr. (strlen): Remove decl. (exchange): Remove forward decl; no longer needed. (exchange, _getopt_initialize, _getopt_internal, getopt, main): Define with prototype.
2003-09-10(struct option.name): Assume C89, and use 'const'.Jim Meyering
(getopt, etopt_long, getopt_long_only, _getopt_internal) [defined __GNU_LIBRARY__]: Assume C89, so we can always declare with a prototype.
2003-09-10(getloadavg, main): Define via prototypes.Jim Meyering
2003-09-10Assume stdlib.h per the C89 spec.Jim Meyering
2003-09-10Include <stddef.h>.Jim Meyering
(gethostname): Define with prototype. Length is size_t, not int.
2003-09-10Include <stdlib.h>, <string.h> unconditionally.Jim Meyering
2003-09-10(FCT): Remove forward decl; no longer needed.Jim Meyering
(FCT): Define using a prototype.
2003-09-10Include fnmatch.h first, to test interface.Jim Meyering
Include <string.h>, <stddef.h>, <stdlib.h> unconditionally. (getenv): Remove decl. (fnmatch): Define using a prototype.
2003-09-10(__P): Remove. All uses changed to assume prototypes.Jim Meyering
2003-09-10Include <stdlib.h> unconditionally.Jim Meyering