Move yasm_std_errwarn and yasm_std_linemgr into libyasm.

svn path=/trunk/yasm/; revision=840
This commit is contained in:
Peter Johnson 2003-03-08 19:55:56 +00:00
parent 288401feff
commit 854ea00a2b
10 changed files with 20 additions and 24 deletions

View file

@ -34,6 +34,8 @@ libyasm_la_SOURCES = \
src/bitvect.h \
src/valparam.c \
src/valparam.h \
src/errwarn.c \
src/linemgr.c \
src/xmalloc.c \
src/xstrdup.c \
src/strcasecmp.c
@ -43,9 +45,7 @@ yasm_SOURCES += \
src/options.c \
src/options.h \
src/module.h \
src/module.c \
src/errwarn.c \
src/linemgr.c
src/module.c
EXTRA_DIST += \

View file

@ -52,12 +52,6 @@
#include "arch.h"
/* YASM's standard line manager (for parse stage). */
extern yasm_linemgr yasm_std_linemgr;
/* YASM's standard errwarn handlers. */
extern yasm_errwarn yasm_std_errwarn;
/* Extra path to search for our modules. */
#ifndef YASM_MODULE_PATH_ENV
# define YASM_MODULE_PATH_ENV "YASM_MODULE_PATH"

View file

@ -34,6 +34,8 @@ libyasm_la_SOURCES = \
src/bitvect.h \
src/valparam.c \
src/valparam.h \
src/errwarn.c \
src/linemgr.c \
src/xmalloc.c \
src/xstrdup.c \
src/strcasecmp.c
@ -43,9 +45,7 @@ yasm_SOURCES += \
src/options.c \
src/options.h \
src/module.h \
src/module.c \
src/errwarn.c \
src/linemgr.c
src/module.c
EXTRA_DIST += \

View file

@ -94,4 +94,6 @@ struct yasm_errwarn {
char * (*conv_unprint) (char ch);
};
extern yasm_errwarn yasm_std_errwarn;
#endif

View file

@ -82,4 +82,6 @@ struct yasm_linemgr {
int type);
};
extern yasm_linemgr yasm_std_linemgr;
#endif

View file

@ -34,6 +34,8 @@ libyasm_la_SOURCES = \
src/bitvect.h \
src/valparam.c \
src/valparam.h \
src/errwarn.c \
src/linemgr.c \
src/xmalloc.c \
src/xstrdup.c \
src/strcasecmp.c
@ -43,9 +45,7 @@ yasm_SOURCES += \
src/options.c \
src/options.h \
src/module.h \
src/module.c \
src/errwarn.c \
src/linemgr.c
src/module.c
EXTRA_DIST += \

View file

@ -34,6 +34,8 @@ libyasm_la_SOURCES = \
src/bitvect.h \
src/valparam.c \
src/valparam.h \
src/errwarn.c \
src/linemgr.c \
src/xmalloc.c \
src/xstrdup.c \
src/strcasecmp.c
@ -43,9 +45,7 @@ yasm_SOURCES += \
src/options.c \
src/options.h \
src/module.h \
src/module.c \
src/errwarn.c \
src/linemgr.c
src/module.c
EXTRA_DIST += \

View file

@ -94,4 +94,6 @@ struct yasm_errwarn {
char * (*conv_unprint) (char ch);
};
extern yasm_errwarn yasm_std_errwarn;
#endif

View file

@ -82,4 +82,6 @@ struct yasm_linemgr {
int type);
};
extern yasm_linemgr yasm_std_linemgr;
#endif

View file

@ -52,12 +52,6 @@
#include "arch.h"
/* YASM's standard line manager (for parse stage). */
extern yasm_linemgr yasm_std_linemgr;
/* YASM's standard errwarn handlers. */
extern yasm_errwarn yasm_std_errwarn;
/* Extra path to search for our modules. */
#ifndef YASM_MODULE_PATH_ENV
# define YASM_MODULE_PATH_ENV "YASM_MODULE_PATH"