Drop macros AGREE_FREE, AGREE_PROPOSED, AGREE_SIGNED

Commit 555de3100 (v4.3.0) added these macros so xdump tables loan and
treaty can share an agreement_statuses table.  Treaties are gone since
commit a109de948 (v4.3.33).  Drop the macros.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2020-12-31 05:45:27 +01:00
parent 7714a8cb82
commit 87952c7f7c
3 changed files with 8 additions and 11 deletions

View file

@ -58,9 +58,9 @@ struct lonstr {
time_t l_duedate; /* date after which interest doubles, etc */
};
#define LS_FREE AGREE_FREE
#define LS_PROPOSED AGREE_PROPOSED
#define LS_SIGNED AGREE_SIGNED
#define LS_FREE 0
#define LS_PROPOSED 1
#define LS_SIGNED 2
extern double loan_owed(struct lonstr *loan, time_t paytime);

View file

@ -108,8 +108,4 @@ extern char *ugetstring(char *prompt, char buf[]);
extern char *prbuf(char *format, ...)
ATTRIBUTE((format (printf, 1, 2)));
#define AGREE_FREE 0
#define AGREE_PROPOSED 1
#define AGREE_SIGNED 2
#endif