Michael Reed and I noticed the straggling lintism PRINTFLIKE1 in less(1). Should it be replaced with an attribute? If so, am I doing this right?
Index: funcs.h =================================================================== RCS file: /cvs/src/usr.bin/less/funcs.h,v retrieving revision 1.17 diff -u -p -r1.17 funcs.h --- funcs.h 15 Jan 2016 22:22:38 -0000 1.17 +++ funcs.h 18 Jan 2016 03:34:55 -0000 @@ -10,8 +10,8 @@ struct mlist; struct loption; void *ecalloc(int, unsigned int); -/*PRINTFLIKE1*/ -char *easprintf(const char *, ...); +char *easprintf(const char *, ...) + __attribute__((__format__(printf, 1, 2))); char *estrdup(const char *); char *skipsp(char *); int sprefix(char *, char *, int);