Fix typographical error in endian.h and resource.h

This commit is contained in:
anchao 2018-11-09 09:05:48 -06:00 committed by Gregory Nutt
parent e922d339c8
commit c68f44dc44
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 */