Files
pkgsrc-ng/databases/gnats/patches/patch-gnats_gnats_h
2016-01-21 23:41:46 +01:00

17 lines
522 B
Plaintext

$NetBSD: patch-gnats_gnats_h,v 1.2 2015/04/19 19:35:00 spz Exp $
Remove redundant and improperly protected copy of private asprintf decl.
--- gnats/gnats.h.orig 2015-02-26 04:26:41.000000000 +0000
+++ gnats/gnats.h
@@ -146,9 +146,6 @@ char *alloca ();
# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#endif
-extern int asprintf (char **buf, const char *fmt, ...);
-extern int vasprintf (char **buf, const char *fmt, va_list args);
-
#if ! HAVE_DECL_UNSETENV
extern void unsetenv (const char *name);
#endif