git: c50827a6bb26 - main - sys/nlm: Use C99 fixed-width integer types.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Dec 2021 17:51:14 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=c50827a6bb265ce2c879d2b6487967327c3e57bb
commit c50827a6bb265ce2c879d2b6487967327c3e57bb
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-12-28 17:42:42 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-12-28 17:42:42 +0000
sys/nlm: Use C99 fixed-width integer types.
No functional change.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D33638
---
sys/nlm/nlm_prot.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sys/nlm/nlm_prot.h b/sys/nlm/nlm_prot.h
index 98c5688e49f5..95e0e112dd73 100644
--- a/sys/nlm/nlm_prot.h
+++ b/sys/nlm/nlm_prot.h
@@ -172,10 +172,10 @@ typedef struct nlm4_stat nlm4_stat;
struct nlm4_holder {
bool_t exclusive;
- u_int32_t svid;
+ uint32_t svid;
netobj oh;
- u_int64_t l_offset;
- u_int64_t l_len;
+ uint64_t l_offset;
+ uint64_t l_len;
};
typedef struct nlm4_holder nlm4_holder;
@@ -183,9 +183,9 @@ struct nlm4_lock {
char *caller_name;
netobj fh;
netobj oh;
- u_int32_t svid;
- u_int64_t l_offset;
- u_int64_t l_len;
+ uint32_t svid;
+ uint64_t l_offset;
+ uint64_t l_len;
};
typedef struct nlm4_lock nlm4_lock;