Mercurial > hg > octave-kai > gnulib-hg
comparison lib/ChangeLog @ 4647:b88ec9fe0334
Assume C89 or better; remove K&R cruft.
Remove getversion.c
Fix !HAVE_UTIMES_NULL case in utime.c
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 09 Sep 2003 07:03:51 +0000 |
parents | 13cc36518e0b |
children | 11c0cb234663 |
comparison
equal
deleted
inserted
replaced
4646:b2ea1caa494d | 4647:b88ec9fe0334 |
---|---|
1 2003-09-08 Paul Eggert <eggert@twinsun.com> | |
2 | |
3 Assume C89 or better; remove K&R cruft. | |
4 A few of these changes were first proposed by Derek Robert Price | |
5 in <http://mail.gnu.org/archive/html/bug-gnulib/2003-07/msg00105.html>. | |
6 | |
7 * addext.c: Include <string.h> unconditionally. | |
8 * backupfile.c: Include <string.h>, <stdlib.h> unconditionally. | |
9 Don't declare getenv or malloc. | |
10 | |
11 * alloca.c: Include <string.h>, <stdlib.h> unconditionally. | |
12 (POINTER_TYPE, pointer): Remove; all uses changed to void *. | |
13 (NULL): Remove. | |
14 (find_stack_direction, alloca): Use prototypes. | |
15 | |
16 * atexit.c (atexit): Define using a prototype. | |
17 | |
18 * basename.c, dirname.c, stripslash.c: | |
19 Include <string.h> unconditionally. | |
20 | |
21 * bcopy.c: Include <stddef.h>. | |
22 (bcopy): Define with prototype, using 'const' and 'void' and 'size_t'. | |
23 | |
24 * canon-host.c: Include <stdlib.h>, <string.h> unconditionally. | |
25 | |
26 * error.h (error, error_at_line, error_print_progname) | |
27 [! (defined (__STDC__) && __STDC__)]: Remove decls. | |
28 * error.c: Include error.h first, to check interface. | |
29 Include <stdarg.h>, <stdlib.h>, <string.h> unconditionally. | |
30 (VA_START): Remove; all uses changeed to va_start. | |
31 (exit, strerror): Remove decls. | |
32 (error_print_progname): Prototype uncondionally. | |
33 Don't include <errno.h>; no longer needed. | |
34 (private_strerror): Remove. | |
35 (error_tail): Always define. | |
36 (error, error_at_line): Assume C89 or better; always use prototypes. | |
37 * fatal.c: Include "fatal.h" first, to test interface. | |
38 Include <stdarg.h>, <stdlib.h>, <string.h> unconditionally. | |
39 (VA_START): Remove; all uses changed to va_start. | |
40 [! (HAVE_VPRINTF || HAVE_DOPRNT || _LIBC)]: Remove support for | |
41 this case. | |
42 (exit): Remove decl. | |
43 (fatal): Prototype unconditionally. Assume va_start works. | |
44 Abort at end, to pacify gcc. | |
45 | |
46 * euidaccess.c (main): Define with a prototype. | |
47 | |
48 * exclude.c: Include <stdlib.h>, <string.h> unconditionally. | |
49 | |
50 * exitfail.c: Include <stdlib.h> unconditionally. | |
51 | |
52 * fnmatch.h (__P): Remove. All uses changed to assume | |
53 prototypes. | |
54 * fnmatch.c: Include fnmatch.h first, to test interface. | |
55 Include <string.h>, <stddef.h>, <stdlib.h> unconditionally. | |
56 (getenv): Remove decl. | |
57 (fnmatch): Define using a prototype. | |
58 * fnmatch_loop.c (FCT): Remove forward decl; no longer needed. | |
59 (FCT): Define using a prototype. | |
60 | |
61 * getdate.y: Include <stdlib.h>, <string.h> unconditionally. | |
62 | |
63 * gethostname.c: Include <stddef.h>. | |
64 (gethostname): Define with prototype. Length is size_t, not int. | |
65 | |
66 2003-09-08 Paul Eggert <eggert@twinsun.com> | |
67 | |
68 * getversion.c: Remove; was migrated to backupfile.c in 1997. | |
69 getversion.c should have been removed then, but was accidentally | |
70 preserved. | |
71 | |
72 * utime.c [!HAVE_UTIMES_NULL]: Include <sys/stat.h>, <fcntl.h>. | |
73 (utime_null): Fix typo: 'st' was sometimes called 'sb'. | |
74 | |
1 2003-09-07 Paul Eggert <eggert@twinsun.com> | 75 2003-09-07 Paul Eggert <eggert@twinsun.com> |
2 | 76 |
3 * time_r.c (gmtime_r, localtime_r): Fix silly typo: missing arg to | 77 * time_r.c (gmtime_r, localtime_r): Fix silly typo: missing arg to |
4 copy_tm_result. Bug reported by Simon Josefsson in | 78 copy_tm_result. Bug reported by Simon Josefsson in |
5 <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>. | 79 <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>. |