Jim Meyering [Sat, 13 Sep 2003 10:23:46 +0000 (10:23 +0000)]
Include "xalloc.h" first, to check interface.
Include <stdlib.h> unconditionally.
Include exit.h.
(EXIT_FAILURE): Remove; now done by exit.h
Jim Meyering [Sat, 13 Sep 2003 10:21:07 +0000 (10:21 +0000)]
[!defined _LIBC]: Include exit.h.
Remove; now done by exit.h.
Jim Meyering [Sat, 13 Sep 2003 10:20:45 +0000 (10:20 +0000)]
Include exit.h.
Remove; now done by exit.h
Jim Meyering [Sat, 13 Sep 2003 10:19:33 +0000 (10:19 +0000)]
Include exit.h.
(EXIT_FAILURE): Remove; now done by exit.h
Jim Meyering [Sat, 13 Sep 2003 10:14:03 +0000 (10:14 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Sep 2003 10:12:50 +0000 (10:12 +0000)]
(gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
and AC_MINIX, too, so that their extensions are available.
Jim Meyering [Sat, 13 Sep 2003 10:08:58 +0000 (10:08 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Sep 2003 10:08:50 +0000 (10:08 +0000)]
(gl_UNICODEIO): Remove <string.h> check.
Jim Meyering [Sat, 13 Sep 2003 10:08:23 +0000 (10:08 +0000)]
(gl_PREREQ_STRSTR): Remove <string.h> check.
Jim Meyering [Sat, 13 Sep 2003 10:08:14 +0000 (10:08 +0000)]
(gl_PREREQ_STRPBRK): Remove <string.h> check.
Jim Meyering [Sat, 13 Sep 2003 10:07:41 +0000 (10:07 +0000)]
(gl_PREREQ_STRCSPN): Remove <string.h> check.
Jim Meyering [Sat, 13 Sep 2003 10:06:29 +0000 (10:06 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 09:48:56 +0000 (09:48 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Sep 2003 09:48:14 +0000 (09:48 +0000)]
(gl_YESNO): Remove <stdlib.h> check.
Jim Meyering [Sat, 13 Sep 2003 09:47:52 +0000 (09:47 +0000)]
(gl_XREADLINK): Remove <stdlib.h> check.
Jim Meyering [Sat, 13 Sep 2003 09:45:24 +0000 (09:45 +0000)]
(jm_PREREQ): Require gl_GETUGROUPS.
Jim Meyering [Sat, 13 Sep 2003 09:45:04 +0000 (09:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Sep 2003 09:43:52 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Sep 2003 09:43:42 +0000 (09:43 +0000)]
(jm_PREREQ): Require gl_IDCACHE.
Jim Meyering [Sat, 13 Sep 2003 06:47:24 +0000 (06:47 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 06:46:46 +0000 (06:46 +0000)]
(gl_EXITFAIL): Do not check for stdlib.h.
Jim Meyering [Sat, 13 Sep 2003 06:46:15 +0000 (06:46 +0000)]
(jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
Jim Meyering [Sat, 13 Sep 2003 06:32:59 +0000 (06:32 +0000)]
(AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
Jim Meyering [Sat, 13 Sep 2003 06:32:47 +0000 (06:32 +0000)]
(gl_GETOPT): Don't check for string.h.
Jim Meyering [Sat, 13 Sep 2003 06:31:59 +0000 (06:31 +0000)]
(gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
Jim Meyering [Sat, 13 Sep 2003 06:31:26 +0000 (06:31 +0000)]
(gl_PREREQ_GROUP_MEMBER): Do not require standard C headers.
Jim Meyering [Sat, 13 Sep 2003 06:30:49 +0000 (06:30 +0000)]
(gl_HASH): Do not check for stdlib.h, malloc, free.
Jim Meyering [Sat, 13 Sep 2003 06:30:24 +0000 (06:30 +0000)]
(gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
Jim Meyering [Fri, 12 Sep 2003 21:17:02 +0000 (21:17 +0000)]
(jm_PREREQ): Require gl_LONG_OPTIONS.
Jim Meyering [Fri, 12 Sep 2003 21:16:17 +0000 (21:16 +0000)]
new file, from gnulib
Jim Meyering [Fri, 12 Sep 2003 21:15:19 +0000 (21:15 +0000)]
(jm_PREREQ): Require gl_MAKEPATH.
Jim Meyering [Fri, 12 Sep 2003 21:13:43 +0000 (21:13 +0000)]
new file, from gnulib
Jim Meyering [Fri, 12 Sep 2003 21:12:14 +0000 (21:12 +0000)]
(jm_PREREQ): Require gl_MD5.
Jim Meyering [Fri, 12 Sep 2003 21:11:30 +0000 (21:11 +0000)]
new file, from gnulib
Jim Meyering [Fri, 12 Sep 2003 21:10:35 +0000 (21:10 +0000)]
(jm_PREREQ): Require gl_READTOKENS.
Jim Meyering [Fri, 12 Sep 2003 21:10:04 +0000 (21:10 +0000)]
undo last change
Jim Meyering [Fri, 12 Sep 2003 21:08:06 +0000 (21:08 +0000)]
(gl_SHA): Don't check for standard Cheaders, memcpy.
Jim Meyering [Fri, 12 Sep 2003 21:06:29 +0000 (21:06 +0000)]
(gl_PREREQ_MEMCMP): Don't check for string.h.
Jim Meyering [Fri, 12 Sep 2003 20:43:03 +0000 (20:43 +0000)]
(gl_MEMCOLL): Likewise.
Jim Meyering [Fri, 12 Sep 2003 20:42:38 +0000 (20:42 +0000)]
(gl_PREREQ_MEMRCHR): Don't check for limits.h.
Jim Meyering [Fri, 12 Sep 2003 20:42:27 +0000 (20:42 +0000)]
(gl_PREREQ_MKDIR): Don't check for stdlib.h, string.h, free.
Jim Meyering [Fri, 12 Sep 2003 20:41:57 +0000 (20:41 +0000)]
(gl_PREREQ_MKTIME): Don't check for standard C headers.
Jim Meyering [Fri, 12 Sep 2003 20:41:32 +0000 (20:41 +0000)]
(gl_MODECHANGE): Don't check for standard C headers.
Jim Meyering [Fri, 12 Sep 2003 20:41:05 +0000 (20:41 +0000)]
(gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
C headers, or for string.h.
Jim Meyering [Fri, 12 Sep 2003 20:16:13 +0000 (20:16 +0000)]
(gl_OBSTACK): Don't check for stddefe.h, string.h.
(gl_PREREQ_OBSTACK): Don't check for stdlib.h.
Jim Meyering [Fri, 12 Sep 2003 20:15:32 +0000 (20:15 +0000)]
(gl_PATH_CONCAT): Don't check for standard C
headers, memory.h, stdlib.h, string.h, strings.h.
Jim Meyering [Fri, 12 Sep 2003 20:15:09 +0000 (20:15 +0000)]
(gl_POSIXTM): Don't check for stdlib.h, string.h.
Jim Meyering [Fri, 12 Sep 2003 20:14:43 +0000 (20:14 +0000)]
(gl_POSIXVER): Don't check for getenv.
Jim Meyering [Fri, 12 Sep 2003 20:14:24 +0000 (20:14 +0000)]
(gl_PREREQ_PUTENV): Don't check for string.h, memcpy, strchr.
Jim Meyering [Fri, 12 Sep 2003 20:13:45 +0000 (20:13 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Sep 2003 20:13:37 +0000 (20:13 +0000)]
(jm_MACROS): Require gl_READTOKENS.
Jim Meyering [Fri, 12 Sep 2003 20:11:06 +0000 (20:11 +0000)]
(jm_PREREQ_REGEX): Do not check for limits.h, string.h.
Jim Meyering [Fri, 12 Sep 2003 20:09:18 +0000 (20:09 +0000)]
(gl_PREREQ_RENAME): Do not check for stdlib.h, string.h, free.
Jim Meyering [Fri, 12 Sep 2003 20:09:01 +0000 (20:09 +0000)]
(gl_PREREQ_RPMATCH): Don't check for standard C headers.
Jim Meyering [Fri, 12 Sep 2003 20:08:06 +0000 (20:08 +0000)]
(gl_SAVE_CWD): Don't check for standard C headers.
Jim Meyering [Fri, 12 Sep 2003 20:07:47 +0000 (20:07 +0000)]
(gl_SAVEDIR): Don't check for standard C headers.
Jim Meyering [Fri, 12 Sep 2003 20:05:08 +0000 (20:05 +0000)]
(gl_XGETCWD): Don't check for stdlib.h.
Jim Meyering [Fri, 12 Sep 2003 20:04:47 +0000 (20:04 +0000)]
(gl_PREREQ_GETNDELIM2): Assume stdlib.h per the C89 spec.
Jim Meyering [Fri, 12 Sep 2003 20:04:21 +0000 (20:04 +0000)]
(gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
Jim Meyering [Fri, 12 Sep 2003 20:03:41 +0000 (20:03 +0000)]
(gl_BACKUPFILE): Don't check for stdlib.h, string.h, getenv, malloc.
Jim Meyering [Fri, 12 Sep 2003 20:03:01 +0000 (20:03 +0000)]
(gl_DIRNAME): Don't check for string.h or C standard headers.
Jim Meyering [Fri, 12 Sep 2003 20:01:54 +0000 (20:01 +0000)]
(gl_CANON_HOST): Don't check for string.h, stdlib.h.
Jim Meyering [Fri, 12 Sep 2003 20:01:31 +0000 (20:01 +0000)]
(jm_PREREQ_ERROR): Do not require STDC headers, and do not check for strerror.
Jim Meyering [Fri, 12 Sep 2003 20:01:08 +0000 (20:01 +0000)]
Do not check for stdlib.h, string.h, strings.h.
Jim Meyering [Fri, 12 Sep 2003 20:00:33 +0000 (20:00 +0000)]
(gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
Jim Meyering [Fri, 12 Sep 2003 19:59:57 +0000 (19:59 +0000)]
(gl_GETDATE): Don't check for stdlib.h or string.h.
Jim Meyering [Thu, 11 Sep 2003 09:09:02 +0000 (09:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Sep 2003 09:08:29 +0000 (09:08 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
Jim Meyering [Thu, 11 Sep 2003 09:07:35 +0000 (09:07 +0000)]
Include <stdlib.h> unconditionally.
Jim Meyering [Thu, 11 Sep 2003 09:06:50 +0000 (09:06 +0000)]
Include <stdlib.h> unconditionally.
Jim Meyering [Thu, 11 Sep 2003 09:06:31 +0000 (09:06 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
Jim Meyering [Thu, 11 Sep 2003 09:06:19 +0000 (09:06 +0000)]
(_RE_ARGS): Remove. All uses removed.
Jim Meyering [Thu, 11 Sep 2003 09:06:10 +0000 (09:06 +0000)]
(PARAMS): Remove. All uses removed.
All uses of _RE_ARGS removed, too.
Include <stddef.h>, <stdlib.h>, <string.h>, <limits.h>
unconditionally.
(bzero): Assume memset exists.
(memcmp, memcpy, NULL): Remove.
(SIGN_EXTEND_CHAR): Remove; all uses replaced by casts to signed
char, or assignments to local vars of type signed char.
(init_syntax_once, PREFIX(extract_number_and_incr),
PREFIX(print_partial_compiled_pattern),
PREFIX(print_compiled_pattern), PREFIX(print_double_string),
convert_mbs_to_wcs, print_fastmap, re_set_syntax,
PREFIX(regex_grow_registers), PREFIX(regex_compile),
PREFIX(store_op1), PREFIX(store_op2), PREFIX(insert_op1),
PREFIX(insert_op2), PREFIX(at_begline_loc_p),
PREFIX(at_endline_loc_p), group_in_compile_stack, insert_space,
wcs_compile_range, byte_compile_range, truncate_wchar,
PREFIX(re_compile_fastmap), re_compile_fastmap, re_set_registers,
re_search, re_search_2, PREFIX(re_search_2), re_match, re_match_2,
count_mbs_length, wcs_re_match_2_internal,
byte_re_match_2_internal, PREFIX(group_match_null_string_p),
PREFIX(alt_match_null_string_p),
PREFIX(common_op_match_null_string_p), PREFIX(bcmp_translate),
re_compile_pattern, re_comp, re_exec, regcomp, regexec, regerror,
regfree, PREFIX(extract_number)): Define with prototype. Remove
now-unnecessary declaration, if any.
(byte_compile_range, PREFIX(regex_compile), re_comp, re_exec,
regcomp, regexec):
Remove now-unnecessary casts among pointer types.
Jim Meyering [Wed, 10 Sep 2003 09:35:54 +0000 (09:35 +0000)]
.
Jim Meyering [Wed, 10 Sep 2003 09:35:30 +0000 (09:35 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Sep 2003 09:35:07 +0000 (09:35 +0000)]
.
Jim Meyering [Wed, 10 Sep 2003 09:32:52 +0000 (09:32 +0000)]
Include <sys/types.h>, so that this file is self-contained.
Jim Meyering [Wed, 10 Sep 2003 09:27:03 +0000 (09:27 +0000)]
*** empty log message ***
Jim Meyering [Wed, 10 Sep 2003 09:26:56 +0000 (09:26 +0000)]
(programs, check-x-vs-1): Use ../src/tr -s ' ' '\n' in place
of `fmt -1'. Using the just-built tr is a little cleaner.
Christian Krackowizer reported that HPUX 10.20 doesn't have fmt.
Jim Meyering [Wed, 10 Sep 2003 09:24:00 +0000 (09:24 +0000)]
(programs): Use ../src/tr -s ' ' '\n' in place
of `fmt -1'. Using the just-built tr is a little cleaner.
Christian Krackowizer reported that HPUX 10.20 doesn't have fmt.
Jim Meyering [Wed, 10 Sep 2003 09:08:01 +0000 (09:08 +0000)]
Include readtokens.h first, to test interface.
Include <stdlib.h>, <string.h> unconditionally.
(init_tokenbuffer): Define with a prototype.
Jim Meyering [Wed, 10 Sep 2003 09:07:43 +0000 (09:07 +0000)]
(malloc): Returns void *, not char *.
Include <string.h> unconditionally.
(strchr, memcpy, NULL): Do not define.
Jim Meyering [Wed, 10 Sep 2003 09:07:30 +0000 (09:07 +0000)]
(getenv): Remove decl.
Jim Meyering [Wed, 10 Sep 2003 09:07:17 +0000 (09:07 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(main): Define with a prototype.
Jim Meyering [Wed, 10 Sep 2003 09:07:03 +0000 (09:07 +0000)]
(physmem_total, physmem_available, main): Define with prototypes.
Jim Meyering [Wed, 10 Sep 2003 09:06:51 +0000 (09:06 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 09:06:37 +0000 (09:06 +0000)]
(POINTER): Remove. All uses changed to void *.
(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.
Jim Meyering [Wed, 10 Sep 2003 09:06:23 +0000 (09:06 +0000)]
(PTR_INT_TYPE) [!defined __PTRDIFF_TYPE__]:
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.
Jim Meyering [Wed, 10 Sep 2003 09:05:41 +0000 (09:05 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
Jim Meyering [Wed, 10 Sep 2003 09:05:31 +0000 (09:05 +0000)]
Include <stdlib.h> unconditionally.
(malloc): Remove decl.
Jim Meyering [Wed, 10 Sep 2003 09:05:16 +0000 (09:05 +0000)]
(STDC_HEADERS): Remove.
Include <stdlib.h>, <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 09:04:49 +0000 (09:04 +0000)]
(rmdir): Define with a prototype.
Jim Meyering [Wed, 10 Sep 2003 09:03:56 +0000 (09:03 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
Include savedir.h first, to test interface.
Jim Meyering [Wed, 10 Sep 2003 09:03:45 +0000 (09:03 +0000)]
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
Jim Meyering [Wed, 10 Sep 2003 09:03:31 +0000 (09:03 +0000)]
Include <stddef.h>.
Use types required by C89 in prototype.
Jim Meyering [Wed, 10 Sep 2003 08:56:48 +0000 (08:56 +0000)]
Include <string.h> unconditionally.
Jim Meyering [Wed, 10 Sep 2003 08:56:00 +0000 (08:56 +0000)]
(__ptr_t): Remove; all uses changed to void *.
Include <string.h> unconditionally.
Include <limits.h> unconditionally.
(LONG_MAX): Remove.
(__memchr): Define via a prototype.
Jim Meyering [Wed, 10 Sep 2003 08:55:48 +0000 (08:55 +0000)]
(__ptr_t): Remove; all uses changed to void *.
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.
Jim Meyering [Wed, 10 Sep 2003 08:55:39 +0000 (08:55 +0000)]
(__ptr_t): Remove; all uses changed to void *.
Include <string.h> unconditionally.
Include <limits.h> unconditionally.
Include <stdlib.h> unconditionally.
(LONG_MAX): Remove.
(__memchr): Define via a prototype.
Jim Meyering [Wed, 10 Sep 2003 08:55:24 +0000 (08:55 +0000)]
Include "sha.h" first.
Include <stdlib.h>, <string.h> unconditionally.