From b62d1a7b005afcad0bf8e33786e19488aaf16d16 Mon Sep 17 00:00:00 2001 From: pepepper Date: Sun, 18 Oct 2020 16:28:18 +0900 Subject: [PATCH] remove gelf.h --- nk-dump.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nk-dump.c b/nk-dump.c index 3a9c5ee..e52ad3c 100644 --- a/nk-dump.c +++ b/nk-dump.c @@ -1,13 +1,12 @@ #include #include -#include #include #include #include #include #include -uint8_t magic[7] = "B000FF\n"; +unsigned char magic[7] = "B000FF\n"; #define READ(buf, len) \ if (!fread(buf, len, 1, f)) \ @@ -15,8 +14,8 @@ uint8_t magic[7] = "B000FF\n"; int main(int argc, char *argv[]) { FILE *f; - uint8_t marker[7]; - uint32_t i32, addr, cksum, len, i; + unsigned char marker[7]; + unsigned int i32, addr, cksum, len, i; int n, ch, c; if (argc != 2) {