summaryrefslogtreecommitdiff
path: root/cxpm/cxpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'cxpm/cxpm.c')
-rw-r--r--cxpm/cxpm.c13
1 files changed, 3 insertions, 10 deletions
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;