From df55b44a5d3076407f1c43dbde9b413448df0f3c Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 15 Feb 2001 04:31:52 +0000 Subject: [PATCH] (default_proc): add printf attributes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9686 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/com_err/com_err.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/com_err/com_err.c b/lib/com_err/com_err.c index ebb8d4610..120ee365b 100644 --- a/lib/com_err/com_err.c +++ b/lib/com_err/com_err.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan + * Copyright (c) 1997 - 2001 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -66,6 +66,10 @@ init_error_table(const char **msgs, long base, int count) return 0; } +static void +default_proc (const char *whoami, long code, const char *fmt, va_list args) + __attribute__((__format__(__printf__, 3, 0))); + static void default_proc (const char *whoami, long code, const char *fmt, va_list args) {