From: Ralph Corderoy Date: Sat, 22 Apr 2017 15:42:51 +0000 (+0100) Subject: h/nmh.h: Remove unused NLENGTH(dirent) macro. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/f053f0b49f317d31b337fe8d8b07612671831a52?hp=5251d171e8e90a7a69f2bd740965140b6b69fcbe h/nmh.h: Remove unused NLENGTH(dirent) macro. It just does a strlen(3) of its argument's d_name; that's not even done longhand anyway. And its name is very generic for such a narrow task. --- diff --git a/h/nmh.h b/h/nmh.h index d88ec529..3f4c8b82 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -28,7 +28,6 @@ #include # include -#define NLENGTH(dirent) strlen((dirent)->d_name) #include #include