Commit Graph

16705 Commits

Author SHA1 Message Date
Jim Meyering
9209af4c98 (struct option.name): Assume C89, and use 'const'.
(getopt, etopt_long, getopt_long_only, _getopt_internal)
[defined __GNU_LIBRARY__]: Assume C89, so we can always declare
with a prototype.
2003-09-10 08:44:28 +00:00
Jim Meyering
8f4368f10b (getloadavg, main): Define via prototypes. 2003-09-10 08:44:15 +00:00
Jim Meyering
dfd16eff6d Assume stdlib.h per the C89 spec. 2003-09-10 08:42:04 +00:00
Jim Meyering
73ec01a112 Include <stddef.h>.
(gethostname): Define with prototype.  Length is size_t, not int.
2003-09-10 08:37:38 +00:00
Jim Meyering
a8a090ae08 Include <stdlib.h>, <string.h> unconditionally. 2003-09-10 08:37:15 +00:00
Jim Meyering
07c211b0f8 (FCT): Remove forward decl; no longer needed.
(FCT): Define using a prototype.
2003-09-10 08:36:52 +00:00
Jim Meyering
2ce7736853 Include fnmatch.h first, to test interface.
Include <string.h>, <stddef.h>, <stdlib.h> unconditionally.
(getenv): Remove decl.
(fnmatch): Define using a prototype.
2003-09-10 08:36:22 +00:00
Jim Meyering
2939998ed7 (__P): Remove. All uses changed to assume prototypes. 2003-09-10 08:35:47 +00:00
Jim Meyering
74916e8628 Include <stdlib.h> unconditionally. 2003-09-10 08:31:57 +00:00
Jim Meyering
bcbbea5319 Include <stdlib.h>, <string.h> unconditionally. 2003-09-10 08:31:47 +00:00
Jim Meyering
3db9acf5e6 (main): Define with a prototype. 2003-09-10 08:31:35 +00:00
Jim Meyering
012067ccf5 Include error.h first, to check interface.
Include <stdarg.h>, <stdlib.h>, <string.h> unconditionally.
(VA_START): Remove; all uses changeed to va_start.
(exit, strerror): Remove decls.
(error_print_progname): Prototype uncondionally.
Don't include <errno.h>; no longer needed.
(private_strerror): Remove.
(error_tail): Always define.
(error, error_at_line): Assume C89 or better; always use prototypes.
2003-09-10 08:31:14 +00:00
Jim Meyering
86ee01bc32 (error, error_at_line, error_print_progname)
[! (defined (__STDC__) && __STDC__)]: Remove decls.
2003-09-10 08:30:18 +00:00
Jim Meyering
0364e73411 Include <stdlib.h>, <string.h> unconditionally. 2003-09-10 08:29:47 +00:00
Jim Meyering
a57cb0b077 Include <stddef.h>.
(bcopy): Define with prototype, using 'const' and 'void' and 'size_t'.
2003-09-10 08:29:31 +00:00
Jim Meyering
3d82b922c1 Include <string.h> unconditionally. 2003-09-10 08:28:38 +00:00
Jim Meyering
02889673a1 (atexit): Define using a prototype. 2003-09-10 08:27:55 +00:00
Jim Meyering
a76d1c83c1 Include <string.h>, <stdlib.h> unconditionally.
(POINTER_TYPE, pointer): Remove; all uses changed to void *.
(NULL): Remove.
(find_stack_direction, alloca): Use prototypes.
2003-09-10 08:27:32 +00:00
Jim Meyering
0d84cc66ee Include <string.h>, <stdlib.h> unconditionally.
Don't declare getenv or malloc.
2003-09-10 08:26:42 +00:00
Jim Meyering
cf61cc9303 Include <string.h> unconditionally. 2003-09-10 08:25:43 +00:00
Jim Meyering
6634cb92ec Include <stdlib.h> unconditionally.
(getusershell, setusershell, endusershell, readname, main):
Define with prototypes.

(readname, default_index, line_size, readname):
Use size_t, not int, for sizes.
(readname): If the size overflows, report an error instead of
looping forever.
2003-09-10 08:24:00 +00:00
Jim Meyering
fb24f78198 *** empty log message *** 2003-09-10 06:33:31 +00:00
Jim Meyering
b24bc317c5 [!HAVE_UTIMES_NULL]: Include <sys/stat.h>, <fcntl.h>.
(utime_null): Fix typo: 'st' was sometimes called 'sb'.
2003-09-10 06:33:25 +00:00
Jim Meyering
6247161d8c *** empty log message *** 2003-09-09 17:25:14 +00:00
Jim Meyering
f29d0b1c91 Alphabetize includes.
Remove duplicate inclusion of "same.h".
2003-09-09 17:25:02 +00:00
Jim Meyering
cbd260b93d . 2003-09-09 07:14:03 +00:00
Jim Meyering
3edc0cce07 *** empty log message *** 2003-09-09 05:50:28 +00:00
Jim Meyering
b706478b1b . 2003-09-09 05:46:48 +00:00
Jim Meyering
d8c96acf65 *** empty log message *** 2003-09-08 13:25:38 +00:00
Jim Meyering
ca59d9494e (GZIP_ENV): Remove --rsyncable.
Didn't give enough of a benefit, mainly because it's not yet
in wide enough use.
2003-09-08 13:25:32 +00:00
Jim Meyering
56adf95bee *** empty log message *** 2003-09-08 13:21:22 +00:00
Jim Meyering
aaa25b03dc *** empty log message *** 2003-09-08 13:03:07 +00:00
Jim Meyering
38deedf2d9 (VERSION): Bump to 5.0.92 2003-09-08 12:38:00 +00:00
Jim Meyering
8e393ae0b9 . 2003-09-08 11:22:45 +00:00
Jim Meyering
38b23506a8 . 2003-09-08 09:17:47 +00:00
Jim Meyering
1a2db043f4 *** empty log message *** 2003-09-08 09:17:38 +00:00
Jim Meyering
a1e0d54e2d (programs): Use ../src, not $(srcdir)/../src.
(check-programs-vs-x): Fail if $(programs) is empty.
2003-09-08 09:17:32 +00:00
Jim Meyering
a1dfc8dc22 . 2003-09-08 06:38:37 +00:00
Jim Meyering
c054f7cdc6 . 2003-09-08 06:09:10 +00:00
Jim Meyering
f0a5c8d223 Add a comment. 2003-09-08 06:08:13 +00:00
Jim Meyering
d637d9d5b2 . 2003-09-08 06:05:50 +00:00
Jim Meyering
d54a0f81f2 *** empty log message *** 2003-09-07 17:34:23 +00:00
Jim Meyering
e18e98b627 *** empty log message *** 2003-09-07 17:33:47 +00:00
Jim Meyering
d477526690 (D_INO, ENABLE_CYCLE_CHECK) [D_INO_IN_DIRENT]:
Don't define.  These symbols are no longer used.
2003-09-07 17:33:42 +00:00
Jim Meyering
a4f98360e4 *** empty log message *** 2003-09-07 17:21:52 +00:00
Jim Meyering
1f36aa5121 Write ^D as \cD.
Complete the change of 2003-08-02.
2003-09-07 17:21:48 +00:00
Jim Meyering
edd0e9f89b *** empty log message *** 2003-09-07 17:17:57 +00:00
Jim Meyering
b628bdae1a *** empty log message *** 2003-09-07 17:17:54 +00:00
Jim Meyering
fbb58571c6 (EXTRA_DIST): Add vfat. 2003-09-07 17:17:35 +00:00
Jim Meyering
1c7aabc4d2 *** empty log message *** 2003-09-07 17:16:31 +00:00