Mercurial > hg > forks > dxa
comparison main.c @ 2:ec2f8f6f1dc9
Cleanup pass #1: Get rid of some ancient K&R-isms.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 24 Feb 2015 20:28:57 +0200 |
parents | 4410c9c7750d |
children | 0990d9322fc8 |
comparison
equal
deleted
inserted
replaced
1:cfcae2ef1c2b | 2:ec2f8f6f1dc9 |
---|---|
45 #endif /* __GNUC__ */ | 45 #endif /* __GNUC__ */ |
46 #include "proto.h" | 46 #include "proto.h" |
47 #include "options.h" | 47 #include "options.h" |
48 #include "opcodes.h" | 48 #include "opcodes.h" |
49 | 49 |
50 #ifndef __STDC__ | 50 |
51 int | |
52 main (argc, argv) | |
53 int argc; | |
54 char **argv; | |
55 #else | |
56 int main (int argc, char **argv) | 51 int main (int argc, char **argv) |
57 #endif | |
58 { | 52 { |
59 FILE *file; | 53 FILE *file; |
60 unsigned address1, address2; | 54 unsigned address1, address2; |
61 #ifdef LONG_OPTIONS | 55 #ifdef LONG_OPTIONS |
62 int option_index; | 56 int option_index; |