Module Name: src Committed By: christos Date: Sun Nov 20 22:50:12 UTC 2011
Modified Files: src/sys/sys: kmem.h Log Message: mark printf function To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/sys/kmem.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/kmem.h diff -u src/sys/sys/kmem.h:1.4 src/sys/sys/kmem.h:1.5 --- src/sys/sys/kmem.h:1.4 Thu Feb 11 18:13:46 2010 +++ src/sys/sys/kmem.h Sun Nov 20 17:50:12 2011 @@ -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_free(void *, size_t); 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 *