diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-09-28 17:00:51 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-28 17:02:22 +0200 |
commit | 21391e0bdbe676ab766204eaa0eddd46e529c849 (patch) | |
tree | a47c5305e5363c4dff8d4dabdc82750dc877a64b /firmware/src/pcd.h | |
parent | 5a40e2fed18ed75c7b8d62f52cf4a7c660a8e026 (diff) |
convert from u_int*_t to uint*_t
Diffstat (limited to 'firmware/src/pcd.h')
-rw-r--r-- | firmware/src/pcd.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/src/pcd.h b/firmware/src/pcd.h index 77c99b2..0a5585f 100644 --- a/firmware/src/pcd.h +++ b/firmware/src/pcd.h @@ -7,9 +7,9 @@ #include <sys/types.h> struct opcd_cmd_hdr { - u_int8_t cmd; - u_int8_t arg1; - u_int16_t arg2; + uint8_t cmd; + uint8_t arg1; + uint16_t arg2; } __attribute__ ((packed)); enum opcd_cmd { @@ -28,8 +28,8 @@ enum opcd_cmd { }; struct opcd_status_hdr { - u_int8_t cause, /* interrupt cause register RC632 */ - u_int8_t prim_status, /* primary status register RC632 */ + uint8_t cause, /* interrupt cause register RC632 */ + uint8_t prim_status, /* primary status register RC632 */ } __attribute__ ((packed)); #endif /* _OPENPCD_H */ |