aboutsummaryrefslogtreecommitdiff
path: root/ftp/lftp/files/patch-lib-cdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/lftp/files/patch-lib-cdefs.h')
-rw-r--r--ftp/lftp/files/patch-lib-cdefs.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/ftp/lftp/files/patch-lib-cdefs.h b/ftp/lftp/files/patch-lib-cdefs.h
deleted file mode 100644
index cba973c609b5..000000000000
--- a/ftp/lftp/files/patch-lib-cdefs.h
+++ /dev/null
@@ -1,18 +0,0 @@
-Fix build on FreeBSD 11.0
-
---- lib/cdefs.h.orig 2017-09-12 16:13:24.000000000 +0200
-+++ lib/cdefs.h 2017-09-18 20:44:45.506018000 +0200
-@@ -282,13 +282,7 @@
- # define __attribute_format_strfmon__(a,b) /* Ignore */
- #endif
-
--/* The nonull function attribute allows to mark pointer parameters which
-- must not be NULL. */
--#if __GNUC_PREREQ (3,3)
--# define __nonnull(params) __attribute__ ((__nonnull__ params))
--#else
- # define __nonnull(params)
--#endif
-
- /* If fortification mode, we warn about unused results of certain
- function calls which can lead to problems. */