summaryrefslogtreecommitdiff
path: root/firmware/include/openpcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/openpcd.h')
-rw-r--r--firmware/include/openpcd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/include/openpcd.h b/firmware/include/openpcd.h
index ea32764..1b3ba1c 100644
--- a/firmware/include/openpcd.h
+++ b/firmware/include/openpcd.h
@@ -6,12 +6,12 @@
#include <sys/types.h>
struct openpcd_hdr {
- u_int8_t cmd; /* command. high nibble: class,
+ uint8_t cmd; /* command. high nibble: class,
* low nibble: cmd */
- u_int8_t flags;
- u_int8_t reg; /* register */
- u_int8_t val; /* value (in case of write *) */
- u_int8_t data[0];
+ uint8_t flags;
+ uint8_t reg; /* register */
+ uint8_t val; /* value (in case of write *) */
+ uint8_t data[0];
} __attribute__ ((packed));
#define OPCD_REV_LEN 16
personal git repositories of Harald Welte. Your mileage may vary