From 40017c3b108ea11b6bda86c2cd05ad359e1f14b4 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 5 Jun 2009 19:43:12 +0000 Subject: No __attribute__ in portable code. --- devel/nbpatch/files/util.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'devel') diff --git a/devel/nbpatch/files/util.h b/devel/nbpatch/files/util.h index 938e1b4a4f8..ee8d43a9c86 100644 --- a/devel/nbpatch/files/util.h +++ b/devel/nbpatch/files/util.h @@ -1,7 +1,7 @@ /* * $OpenBSD: util.h,v 1.15 2005/06/20 07:14:06 otto Exp $ * $DragonFly: src/usr.bin/patch/util.h,v 1.2 2007/09/29 23:11:10 swildner Exp $ - * $NetBSD: util.h,v 1.1.1.1 2008/09/10 11:03:22 joerg Exp $ + * $NetBSD: util.h,v 1.2 2009/06/05 19:43:12 joerg Exp $ */ /* @@ -35,14 +35,10 @@ char *checked_in(char *); int backup_file(const char *); int move_file(const char *, const char *); int copy_file(const char *, const char *); -void say(const char *, ...) - __attribute__((__format__(__printf__, 1, 2))); -void fatal(const char *, ...) - __attribute__((__format__(__printf__, 1, 2))); -void pfatal(const char *, ...) - __attribute__((__format__(__printf__, 1, 2))); -void ask(const char *, ...) - __attribute__((__format__(__printf__, 1, 2))); +void say(const char *, ...); +void fatal(const char *, ...); +void pfatal(const char *, ...); +void ask(const char *, ...); char *savestr(const char *); void set_signals(int); void ignore_signals(void); -- cgit v1.2.3