Mark some functions as __printflike()

MFC After:	1 week
This commit is contained in:
Kris Kennaway 2001-07-05 08:17:06 +00:00
parent e287e9b188
commit 2c0643afde
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79294
2 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,7 @@ static const char rcsid[] =
#include <stdio.h>
#include <sys/types.h>
#include <syslog.h>
#include "yp_extern.h"
int debug;
extern int _rpcpmstart;
@ -56,6 +57,8 @@ extern char *progname;
#include <varargs.h>
#endif
static void __verr(const char *fmt, _BSD_VA_LIST_ ap) __printflike(1, 0);
static void __verr(fmt, ap)
const char *fmt;
_BSD_VA_LIST_ ap;

View File

@ -71,7 +71,7 @@ extern char *yp_dir;
extern pid_t yp_pid;
extern enum ypstat yp_errno;
extern void yp_error __P((const char *, ...));
extern void yp_error __P((const char *, ...)) __printflike(1, 2);
#ifdef DB_CACHE
extern int yp_get_record __P(( DB *, const DBT *, DBT *, int));
#else