From 3ef4f00d5a14000b91851f4c5e4ca5e701550528 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 8 Mar 2016 12:14:55 -0800 Subject: lib: split library into stdlib and nasmlib; header handling fixes Split lib/ into nasmlib/ (for nasm-specific functions) and stdlib/ (for replacements for C library functions which may be missing.) Rename the ersatz inttypes.h to nasmint.h so we can use a simple test in compiler.h instead of dealing with include path magic. Remove tests in configure.in for ancient missing functions (which will break the build anyway.) Signed-off-by: H. Peter Anvin --- rdoff/hash.h | 1 - rdoff/ldsegs.h | 1 - rdoff/rdflib.c | 2 -- rdoff/rdlar.h | 1 - rdoff/rdoff.c | 1 - rdoff/rdoff.h | 1 - rdoff/segtab.h | 1 - rdoff/symtab.h | 1 - 8 files changed, 9 deletions(-) (limited to 'rdoff') diff --git a/rdoff/hash.h b/rdoff/hash.h index a6920e70..0379305f 100644 --- a/rdoff/hash.h +++ b/rdoff/hash.h @@ -11,7 +11,6 @@ #ifndef RDOFF_HASH_H #define RDOFF_HASH_H 1 -#include uint32_t hash(const char *name); diff --git a/rdoff/ldsegs.h b/rdoff/ldsegs.h index fcecdf67..7dccaace 100644 --- a/rdoff/ldsegs.h +++ b/rdoff/ldsegs.h @@ -6,7 +6,6 @@ #ifndef RDOFF_LDSEGS_H #define RDOFF_LDSEGS_H 1 -#include struct segconfig { uint16_t typelow, typehi; /* range of seg nos for which this is valid */ diff --git a/rdoff/rdflib.c b/rdoff/rdflib.c index 06cce3c7..0844e6ce 100644 --- a/rdoff/rdflib.c +++ b/rdoff/rdflib.c @@ -62,9 +62,7 @@ #include #include #include -#include #include -#include /* functions supported: * create a library (no extra operands required) diff --git a/rdoff/rdlar.h b/rdoff/rdlar.h index ee00f2e8..16633a11 100644 --- a/rdoff/rdlar.h +++ b/rdoff/rdlar.h @@ -5,7 +5,6 @@ #ifndef RDOFF_RDLAR_H #define RDOFF_RDLAR_H 1 -#include #ifdef HAVE_CONFIG_H #include "config.h" diff --git a/rdoff/rdoff.c b/rdoff/rdoff.c index f451ce12..126a110a 100644 --- a/rdoff/rdoff.c +++ b/rdoff/rdoff.c @@ -46,7 +46,6 @@ #include #include #include -#include #define RDOFF_UTILS diff --git a/rdoff/rdoff.h b/rdoff/rdoff.h index 1451c6ea..019d012d 100644 --- a/rdoff/rdoff.h +++ b/rdoff/rdoff.h @@ -38,7 +38,6 @@ #ifndef RDOFF_RDOFF_H #define RDOFF_RDOFF_H 1 -#include /* * RDOFF definitions. They are used by RDOFF utilities and by NASM's diff --git a/rdoff/segtab.h b/rdoff/segtab.h index 87ef0171..e5e87931 100644 --- a/rdoff/segtab.h +++ b/rdoff/segtab.h @@ -34,7 +34,6 @@ #ifndef RDOFF_SEGTAB_H #define RDOFF_SEGTAB_H 1 -#include typedef void *segtab; diff --git a/rdoff/symtab.h b/rdoff/symtab.h index 0dc8c7b1..efd1b68e 100644 --- a/rdoff/symtab.h +++ b/rdoff/symtab.h @@ -38,7 +38,6 @@ #ifndef RDOFF_SYMTAB_H #define RDOFF_SYMTAB_H 1 -#include typedef struct { char *name; -- cgit v1.2.1