summaryrefslogtreecommitdiff
path: root/devel/nbpatch
diff options
context:
space:
mode:
authorjoerg <joerg>2009-06-05 19:43:12 +0000
committerjoerg <joerg>2009-06-05 19:43:12 +0000
commit97f57241ca71da73acad4d264e5c9852ec01c172 (patch)
tree8bfe89552b84577ca7ec04d981ca153b5dee4fe6 /devel/nbpatch
parent27cc2a24ab32a0346a825e8781a59a33a41d6959 (diff)
downloadpkgsrc-97f57241ca71da73acad4d264e5c9852ec01c172.tar.gz
No __attribute__ in portable code.
Diffstat (limited to 'devel/nbpatch')
-rw-r--r--devel/nbpatch/files/util.h14
1 files changed, 5 insertions, 9 deletions
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);