From: Ralph Corderoy Date: Sat, 22 Apr 2017 15:41:00 +0000 (+0100) Subject: h/mts.h: Remove unused isdlm{1,2}() macros. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/5251d171e8e90a7a69f2bd740965140b6b69fcbe?hp=8a5b32e396d5bbf89b419ec442f33f6962d58a17 h/mts.h: Remove unused isdlm{1,2}() macros. They just do a strcmp(3) of their argument against mmdlm{1,2} and test it's "equal". That's more clearly written longhand than have yet another small-scope, specialised, macro to recall; as practice bears out. --- diff --git a/h/mts.h b/h/mts.h index aa5cc3d3..8df4ae4f 100644 --- a/h/mts.h +++ b/h/mts.h @@ -31,9 +31,6 @@ char *getlocalmbox(void); extern char *mmdlm1; extern char *mmdlm2; -#define isdlm1(s) (strcmp (s, mmdlm1) == 0) -#define isdlm2(s) (strcmp (s, mmdlm2) == 0) - /* * Read mts.conf file */