diff options
| author | Dan Nicolaescu | 2010-07-03 23:05:43 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-03 23:05:43 -0700 |
| commit | b8463cbfbe2c5183cf40772df2746e58b787ddeb (patch) | |
| tree | d3e71f09d6fd870ffd7a478a17f86384f4872fe2 /lib-src/test-distrib.c | |
| parent | b782e2d7f36a742156e5b13d43efdcf620356bc0 (diff) | |
| download | emacs-b8463cbfbe2c5183cf40772df2746e58b787ddeb.tar.gz emacs-b8463cbfbe2c5183cf40772df2746e58b787ddeb.zip | |
* lib-src/fakemail.c (action): Convert function definitions to standard C.
(add_a_stream):
* lib-src/test-distrib.c (cool_read):
(main): Likewise.
Diffstat (limited to 'lib-src/test-distrib.c')
| -rw-r--r-- | lib-src/test-distrib.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c index a6c7c187f8a..880bd115882 100644 --- a/lib-src/test-distrib.c +++ b/lib-src/test-distrib.c | |||
| @@ -52,10 +52,7 @@ char buf[300]; | |||
| 52 | 52 | ||
| 53 | /* Like `read' but keeps trying until it gets SIZE bytes or reaches eof. */ | 53 | /* Like `read' but keeps trying until it gets SIZE bytes or reaches eof. */ |
| 54 | int | 54 | int |
| 55 | cool_read (fd, buf, size) | 55 | cool_read (int fd, char *buf, int size) |
| 56 | int fd; | ||
| 57 | char *buf; | ||
| 58 | int size; | ||
| 59 | { | 56 | { |
| 60 | int num, sofar = 0; | 57 | int num, sofar = 0; |
| 61 | 58 | ||
| @@ -70,9 +67,7 @@ cool_read (fd, buf, size) | |||
| 70 | } | 67 | } |
| 71 | 68 | ||
| 72 | int | 69 | int |
| 73 | main (argc, argv) | 70 | main (int argc, char **argv) |
| 74 | int argc; | ||
| 75 | char **argv; | ||
| 76 | { | 71 | { |
| 77 | int fd; | 72 | int fd; |
| 78 | 73 | ||