X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/92c3b05ef3e582d64b3cecfc261fdd66ef13a4ef..69b409f148f5517df72659d5ef3f6a103a2638a7:/uip/fmttest.c diff --git a/uip/fmttest.c b/uip/fmttest.c index 78f08561..9a569ae4 100644 --- a/uip/fmttest.c +++ b/uip/fmttest.c @@ -11,6 +11,7 @@ #include #include #include +#include "h/done.h" #include "sbr/m_maildir.h" #include "sbr/terminal.h" @@ -982,8 +983,8 @@ findlabel(struct format *addr) for (i = 0; i < lused; ++i) if (addr == lvec[i]) - return(i); - return(-1); + return i; + return -1; } static void @@ -1101,7 +1102,7 @@ f_typestr(int t) case FT_V_AMATCH: return "V_AMATCH"; default: snprintf(buf, sizeof(buf), "/* ??? #%d */", t); - return(buf); + return buf; } } @@ -1111,7 +1112,7 @@ c_typestr(int t) static char buf[64]; snprintb(buf, sizeof(buf), t, CT_BITS); - return(buf); + return buf; } static char * @@ -1120,7 +1121,7 @@ c_flagsstr(int t) static char buf[64]; snprintb(buf, sizeof(buf), t, CF_BITS); - return(buf); + return buf; } static void @@ -1269,7 +1270,7 @@ test_formataddr (char *orig, char *str) *dst = '\0'; last_dst = dst; - return (buf); + return buf; }