(add_a_stream):
* lib-src/test-distrib.c (cool_read):
(main): Likewise.
+2010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * fakemail.c (action): Convert function definitions to standard C.
+ (add_a_stream):
+ * test-distrib.c (cool_read):
+ (main): Likewise.
+
2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
* sorted-doc.c (cmpdoc): Fix signature.
struct stream_record
{
FILE *handle;
- int (*action)();
+ int (*action)(FILE *);
struct stream_record *rest_streams;
};
typedef struct stream_record *stream_list;
}
void
-add_a_stream (FILE *the_stream, int (*closing_action) (/* ??? */))
+add_a_stream (FILE *the_stream, int (*closing_action) (FILE *))
{
stream_list old = the_streams;
the_streams = new_stream ();
/* Like `read' but keeps trying until it gets SIZE bytes or reaches eof. */
int
-cool_read (fd, buf, size)
- int fd;
- char *buf;
- int size;
+cool_read (int fd, char *buf, int size)
{
int num, sofar = 0;
}
int
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
int fd;