1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-18 13:27:19 +00:00

tidy: xrdopt. (#364)

* Remove unused `print_lispusage()`.
* Make some globals into function locals.
* Make the options table into a `static`. It can't be `const`
  because `XrmParseCommand` wants a mutable pointer.
* Remove unused `homeDB`.
* Stop using `caddr_t`, use `XPointer`. `caddr_t` is not POSIX
  and never made it past old obsolete BSD code.
This commit is contained in:
Bruce Mitchener
2021-02-23 00:44:43 +07:00
committed by GitHub
parent a64a06466c
commit 0129b50127
2 changed files with 33 additions and 53 deletions

View File

@@ -1,6 +1,5 @@
#ifndef XRDOPTDEFS_H
#define XRDOPTDEFS_H 1
void print_Xusage(const char *prog);
void print_lispusage(const char *prog);
void read_Xoption(int *argc, char *argv[]);
#endif