mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
Fix typographical error in endian.h and resource.h
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user