diff options
| author | Willy Tarreau <[email protected]> | 2022-02-13 09:52:10 +0100 | 
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2022-04-20 17:05:43 -0700 | 
| commit | 8cb98b3fce152e8ba46d1e25515deab08d7ec271 (patch) | |
| tree | 635d020e39f736057d10f5fad9991e68a91e173d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | 50850c38b290c22da37a77e24c9382933b200c8c (diff) | |
tools/nolibc/types: move the FD_* functions to macros in types.h
FD_SET, FD_CLR, FD_ISSET, FD_ZERO are often expected to be macros and
not functions. In addition we already have a file dedicated to such
macros and types used by syscalls, it's types.h, so let's move them
there and turn them to macros. FD_CLR() and FD_ISSET() were missing,
so they were added. FD_ZERO() now deals with its own loop so that it
doesn't rely on memset() that sets one byte at a time.
Cc: David Laight <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions