/*
- * cws2fws by Alex Beregszaszi <alex@fsn.hu>
+ * cws2fws by Alex Beregszaszi
+ * Public domain.
*
* This utility converts compressed Macromedia Flash files to uncompressed ones.
*
#include <sys/stat.h>
#include <fcntl.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <zlib.h>
#define dbgprintf
#endif
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
- int fd_in, fd_out, comp_len, uncomp_len, tag, i, last_out;
+ int fd_in, fd_out, comp_len, uncomp_len, i, last_out;
char buf_in[1024], buf_out[65536];
z_stream zstream;
struct stat statbuf;
inflateEnd(&zstream);
close(fd_in);
close(fd_out);
+ return 0;
}