Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ypbind use __printflike()
details: https://anonhg.NetBSD.org/src/rev/ebe46bbff551
branches: trunk
changeset: 763654:ebe46bbff551
user: dholland <dholland%NetBSD.org@localhost>
date: Wed Mar 30 05:20:59 2011 +0000
description:
use __printflike()
diffstat:
usr.sbin/ypbind/ypbind.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 3ac7c8c62978 -r ebe46bbff551 usr.sbin/ypbind/ypbind.c
--- a/usr.sbin/ypbind/ypbind.c Wed Mar 30 00:17:04 2011 +0000
+++ b/usr.sbin/ypbind/ypbind.c Wed Mar 30 05:20:59 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ypbind.c,v 1.61 2009/11/06 15:41:58 skrll Exp $ */
+/* $NetBSD: ypbind.c,v 1.62 2011/03/30 05:20:59 dholland Exp $ */
/*
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt%fsa.ca@localhost>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef LINT
-__RCSID("$NetBSD: ypbind.c,v 1.61 2009/11/06 15:41:58 skrll Exp $");
+__RCSID("$NetBSD: ypbind.c,v 1.62 2011/03/30 05:20:59 dholland Exp $");
#endif
#include <sys/param.h>
@@ -124,8 +124,7 @@
int main(int, char *[]);
static void usage(void);
-static void yp_log(int, const char *, ...)
- __attribute__((__format__(__printf__, 2, 3)));
+static void yp_log(int, const char *, ...) __printflike(2, 3);
static struct _dom_binding *makebinding(const char *);
static int makelock(struct _dom_binding *);
static void removelock(struct _dom_binding *);
Home |
Main Index |
Thread Index |
Old Index