diff options
Diffstat (limited to 'cxpm')
-rw-r--r-- | cxpm/.gitignore | 5 | ||||
-rw-r--r-- | cxpm/cxpm.c | 13 |
2 files changed, 3 insertions, 15 deletions
diff --git a/cxpm/.gitignore b/cxpm/.gitignore deleted file mode 100644 index 4c621a5..0000000 --- a/cxpm/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -cxpm -.deps -.libs -Makefile -Makefile.in diff --git a/cxpm/cxpm.c b/cxpm/cxpm.c index ed0c7c8..c5cf289 100644 --- a/cxpm/cxpm.c +++ b/cxpm/cxpm.c @@ -56,9 +56,7 @@ * note that 's' could stand both for "special" and "slow" ;-) */ static int -sGetc(data, file) - xpmData *data; - FILE *file; +sGetc(xpmData *data, FILE *file) { int c = getc(data->stream.file); if (c == '\n') { @@ -71,10 +69,7 @@ sGetc(data, file) } static void -sUngetc(data, c, file) - xpmData *data; - int c; - FILE *file; +sUngetc(xpmData *data, int c, FILE *file) { ungetc(c, data->stream.file); if (c == '\n') { @@ -143,9 +138,7 @@ ErrorMessage( } int -main(argc, argv) - int argc; - char **argv; +main(int argc, char **argv) { XpmImage image; char *filename; |