diff options
| author | Michael Forney <mforney@mforney.org> | 2022-02-17 22:57:03 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2022-02-18 02:58:00 -0800 |
| commit | d69c7d5739dd7d6cd7ae1bb2e38ce3e570a8acab (patch) | |
| tree | 496b9ec6ed1888b71dff13ac0968beff20901793 /pkg/iproute2/patch/0012-Use-static-inline-function-for-min.patch | |
| parent | 6cf42d4e86d90e0d1cd23fe3af2502a164f31e9a (diff) | |
iproute2: Update to 5.16.0
Diffstat (limited to 'pkg/iproute2/patch/0012-Use-static-inline-function-for-min.patch')
| -rw-r--r-- | pkg/iproute2/patch/0012-Use-static-inline-function-for-min.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/iproute2/patch/0012-Use-static-inline-function-for-min.patch b/pkg/iproute2/patch/0012-Use-static-inline-function-for-min.patch index 6e9e886d..5c1fbe49 100644 --- a/pkg/iproute2/patch/0012-Use-static-inline-function-for-min.patch +++ b/pkg/iproute2/patch/0012-Use-static-inline-function-for-min.patch @@ -1,4 +1,4 @@ -From 04a1a40ac12d194de7f4077e7af02fa7564b070e Mon Sep 17 00:00:00 2001 +From 610a720da48cb1b4de2364d70215450275edebcb Mon Sep 17 00:00:00 2001 From: Michael Forney <mforney@mforney.org> Date: Mon, 24 Jun 2019 17:38:56 -0700 Subject: [PATCH] Use static inline function for min() @@ -10,10 +10,10 @@ It is only called to calculate a minimum `int`, so specialize for 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/include/utils.h b/include/utils.h -index c9849461..7fb33bb7 100644 +index b6c468e9..8bdbb369 100644 --- a/include/utils.h +++ b/include/utils.h -@@ -267,13 +267,10 @@ unsigned int print_name_and_link(const char *fmt, +@@ -273,13 +273,10 @@ unsigned int print_name_and_link(const char *fmt, # define offsetof(type, member) ((size_t) &((type *)0)->member) #endif @@ -32,5 +32,5 @@ index c9849461..7fb33bb7 100644 #ifndef __check_format_string # define __check_format_string(pos_str, pos_args) \ -- -2.34.0 +2.34.1 |
