nasmlib: add nasm_assert(); use const char * for filenames
commit807bed5ffd11a3b2cd8f8ccd8824c43ac5f5aa69
authorH. Peter Anvin <hpa@zytor.com>
Thu, 2 Jul 2009 05:02:54 +0000 (1 22:02 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 2 Jul 2009 05:02:54 +0000 (1 22:02 -0700)
tree660dabaffba8f02249f5232f5cde651341222566
parent396e6dcc4b446f2b17cc5a03b8e43b1a298b9895
nasmlib: add nasm_assert(); use const char * for filenames

Add new nasm_assert() function, and add "const" to the declarations
which take filenames, as well as to the nasm_strdup/strndup functions.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
nasmlib.c
nasmlib.h