diff options
Diffstat (limited to '')
-rw-r--r-- | cmp.c (renamed from core/cmp.c) | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -10,12 +10,16 @@ /* Requirements in common.h */ #define REQ_PRINT_USAGE #define REQ_ERRPRINT -#include "../common/common.h" +#include "common.h" #define DESCRIPTION "Compare two files." #define OPERANDS "[-l|-s] file1 file2" +#ifdef FASESBOX +int cmp_main(int argc, char *argv[]) { +#else int main(int argc, char *argv[]) { +#endif FILE *file1, *file2; int argument, char_pos = 1, line_pos = 1, param_l, param_s, differ; char *argv0 = strdup(argv[0]); |