]> diplodocus.org Git - nmh/commitdiff
h/mts.h: Remove unused isdlm{1,2}() macros.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Apr 2017 15:41:00 +0000 (16:41 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Apr 2017 15:41:00 +0000 (16:41 +0100)
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.

h/mts.h

diff --git a/h/mts.h b/h/mts.h
index aa5cc3d32974d608762e91951139e785f9748865..8df4ae4f8dcd1b48291a1e60be90626643df55cd 100644 (file)
--- 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
  */