Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys mark printf function
details: https://anonhg.NetBSD.org/src/rev/22e5d52ce1db
branches: trunk
changeset: 771443:22e5d52ce1db
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 20 22:50:12 2011 +0000
description:
mark printf function
diffstat:
sys/sys/kmem.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 1b7a8a24a3d3 -r 22e5d52ce1db sys/sys/kmem.h
--- a/sys/sys/kmem.h Sun Nov 20 22:27:39 2011 +0000
+++ b/sys/sys/kmem.h Sun Nov 20 22:50:12 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kmem.h,v 1.4 2010/02/11 23:13:46 haad Exp $ */
+/* $NetBSD: kmem.h,v 1.5 2011/11/20 22:50:12 christos Exp $ */
/*-
* Copyright (c)2006 YAMAMOTO Takashi,
@@ -39,7 +39,8 @@
void kmem_init(void);
size_t kmem_roundup_size(size_t);
-char *kmem_asprintf(const char *, ...);
+char *kmem_asprintf(const char *, ...)
+ __attribute__((__format__(__printf__, 1, 2)));
/*
* km_flag_t
*
Home |
Main Index |
Thread Index |
Old Index