summaryrefslogtreecommitdiff
path: root/devel/opencvs/files/patch-xmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/opencvs/files/patch-xmalloc.h')
-rw-r--r--devel/opencvs/files/patch-xmalloc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/opencvs/files/patch-xmalloc.h b/devel/opencvs/files/patch-xmalloc.h
new file mode 100644
index 000000000000..08a220c75a34
--- /dev/null
+++ b/devel/opencvs/files/patch-xmalloc.h
@@ -0,0 +1,11 @@
+--- xmalloc.h 29 Jan 2007 16:22:29 -0000 1.3
++++ xmalloc.h 17 Oct 2008 08:51:46 -0000
+@@ -29,7 +29,6 @@
+ __attribute__((__nonnull__ (2)));
+ int xsnprintf(char *, size_t, const char *, ...)
+ __attribute__((__format__ (printf, 3, 4)))
+- __attribute__((__nonnull__ (3)))
+- __attribute__((__bounded__ (__string__,1,2)));
++ __attribute__((__nonnull__ (3)));
+
+ #endif /* XMALLOC_H */