diff options
Diffstat (limited to '')
-rw-r--r-- | more.c (renamed from core/more.c) | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -10,13 +10,17 @@ #include <termios.h> #include <sys/ioctl.h> -#define REQ_PRINT_USAGE /* Require print_usage() from ../common/common.h */ -#define REQ_ERRPRINT /* Require errprint() from ../common/common.h */ +#define REQ_PRINT_USAGE /* Require print_usage() from common.h */ +#define REQ_ERRPRINT /* Require errprint() from common.h */ #define DESCRIPTION "Display files in a page-by-page basis." #define OPERANDS "file ..." -#include "../common/common.h" +#include "common.h" -int main(int argc, char *const argv[]) { +#ifdef FASESBOX +int more_main(int argc, char *argv[]) { +#else +int main(int argc, char *argv[]) { +#endif int i = 0, argument, success = 0, read_file = 1; long int /* columns, */ lines; char buffer[4096], cmd, *argv0 = strdup(argv[0]); |