Mark a function as __printf0like(). This exposes a warning which requires

some code changes to fix but should be possible.

MFC after:	1 week
This commit is contained in:
kris 2002-02-04 01:37:59 +00:00
parent 435834a74d
commit 43a9d1849c

View File

@ -127,7 +127,7 @@ union sockunion {
#define su_port su_si.si_port
void doit __P((union sockunion *));
static void rshd_errx __P((int, const char *, ...));
static void rshd_errx __P((int, const char *, ...)) __printf0like(2, 3);
void getstr __P((char *, int, char *));
int local_domain __P((char *));
char *topdomain __P((char *));