From c367a496066b306d5554a1be70fb5a61c8f2592d Mon Sep 17 00:00:00 2001 From: bg- Date: Fri, 5 Jan 2007 17:47:53 +0000 Subject: [PATCH] * Typedef for scratch buffer. --- core/loader/cle.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/loader/cle.h b/core/loader/cle.h index 6892ed9fa..9d3552c73 100644 --- a/core/loader/cle.h +++ b/core/loader/cle.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)$Id: cle.h,v 1.1 2006/12/01 15:12:27 bg- Exp $ + * @(#)$Id: cle.h,v 1.2 2007/01/05 17:47:53 bg- Exp $ */ #ifndef CLE_H @@ -45,6 +45,8 @@ typedef u16_t cle_half; typedef unsigned char *cle_addr; /* typedef uintptr_t cle_addr; */ +typedef unsigned char cle_scratch[32]; + struct cle_info { cle_addr text, data, bss; @@ -62,7 +64,7 @@ struct cle_info { unsigned char bss_shndx; unsigned char unused_shndx; - char name[32]; /* Scratch and errmsg buffer. */ + cle_scratch name; /* Scratch and errmsg buffer. */ }; int