diff options
author | David Bremner <david@tethera.net> | 2021-07-26 14:18:17 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2021-07-26 14:18:45 -0300 |
commit | 05ab183959c26fa092298a9d78b1d632f6dc28c3 (patch) | |
tree | 153793e3cace863ba72bb59e2d22364a9cb3d874 /process_args.c | |
parent | 488a4f1cee6bede9c2cfe138cd74bf4243df731c (diff) |
move lrs_overflow int process_args.c
Probably process_args.{c,h} should be renamed to something like common.{c,h}
Diffstat (limited to 'process_args.c')
-rw-r--r-- | process_args.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/process_args.c b/process_args.c index d316a26..5c4655a 100644 --- a/process_args.c +++ b/process_args.c @@ -5,6 +5,12 @@ FILE *lrs_ifp; FILE *lrs_ofp; +void +lrs_overflow (int ignored) { + fprintf (stderr, "lrs_overflow called. exiting\n"); + exit(1); +} + void process_args(int argc, char **argv,char *docstring){ if (argc > 1 && argv[1][0]=='-' && argv[1][1]=='h') { fprintf(stderr,docstring); |