Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/user attribute format printf -> __printflike
details: https://anonhg.NetBSD.org/src/rev/5c114be6e94e
branches: trunk
changeset: 771718:5c114be6e94e
user: dholland <dholland%NetBSD.org@localhost>
date: Thu Dec 01 00:15:32 2011 +0000
description:
attribute format printf -> __printflike
diffstat:
usr.sbin/user/user.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 2c0ecf8931ee -r 5c114be6e94e usr.sbin/user/user.c
--- a/usr.sbin/user/user.c Wed Nov 30 20:40:20 2011 +0000
+++ b/usr.sbin/user/user.c Thu Dec 01 00:15:32 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: user.c,v 1.126 2011/01/04 10:30:21 wiz Exp $ */
+/* $NetBSD: user.c,v 1.127 2011/12/01 00:15:32 dholland Exp $ */
/*
* Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -33,7 +33,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1999\
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: user.c,v 1.126 2011/01/04 10:30:21 wiz Exp $");
+__RCSID("$NetBSD: user.c,v 1.127 2011/12/01 00:15:32 dholland Exp $");
#endif
#include <sys/types.h>
@@ -219,8 +219,7 @@
#define UNSET_INACTIVE "Null (unset)"
#define UNSET_EXPIRY "Null (unset)"
-static int asystem(const char *fmt, ...)
- __attribute__((__format__(__printf__, 1, 2)));
+static int asystem(const char *fmt, ...) __printflike(1, 2);
static int is_number(const char *);
static struct group *find_group_info(const char *);
static int verbose;
Home |
Main Index |
Thread Index |
Old Index