From 57a5a2b3db28faf7c7d54e955593caf88beaba74 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ralf=20Cors=C3=A9pius?= Date: Mon, 29 Oct 2007 08:22:15 +0100 Subject: [PATCH] Remove local def of uint32_t, uint16_t. Include . Use size_t for sizes. --- tools/debugedit.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/debugedit.c b/tools/debugedit.c index c030bb5..e65f921 100644 --- a/tools/debugedit.c +++ b/tools/debugedit.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -48,9 +49,6 @@ char *list_file = NULL; int list_file_fd = -1; int do_build_id = 0; -typedef unsigned int uint32_t; -typedef unsigned short uint16_t; - typedef struct { Elf *elf; @@ -439,8 +437,8 @@ static int has_prefix (const char *str, const char *prefix) { - int str_len; - int prefix_len; + size_t str_len; + size_t prefix_len; str_len = strlen (str); prefix_len = strlen (prefix); -- 2.7.4