From c68f44dc4499cf011b3b742bea9255b696774fb7 Mon Sep 17 00:00:00 2001 From: anchao Date: Fri, 9 Nov 2018 09:05:48 -0600 Subject: [PATCH] Fix typographical error in endian.h and resource.h --- include/endian.h | 6 +++--- include/sys/resource.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/endian.h b/include/endian.h index 5622cff78a..f890b0301c 100644 --- a/include/endian.h +++ b/include/endian.h @@ -104,7 +104,7 @@ # define htobe64(n) (n) # define htole64(n) __swap_uint64((uint64_t)n) # define be64toh(n) (n) -# define le64toh(n) __swap_uint64(uint64_t)n) +# define le64toh(n) __swap_uint64((uint64_t)n) # endif #else @@ -125,9 +125,9 @@ # define le32toh(n) (n) # ifdef CONFIG_HAVE_LONG_LONG -# define htobe64(n) __swap_uint64(uint64_t)n) +# define htobe64(n) __swap_uint64((uint64_t)n) # define htole64(n) (n) -# define be64toh(n) __swap_uint64(uint64_t)n) +# define be64toh(n) __swap_uint64((uint64_t)n) # define le64toh(n) (n) # endif #endif diff --git a/include/sys/resource.h b/include/sys/resource.h index 0da83d6b95..83a5d515bd 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -105,7 +105,7 @@ struct rlimit /* Minimal, compliant rusage structure */ -struct rlimit +struct rusage { struct timeval ru_utime; /* User time used */ struct timeval ru_stime; /* System time used */