X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fcommon%2Fhexfile.h;h=d130e1cb9eb7d947cc82f81e87fc306b372e7d14;hb=9cd867c94aabb48f44658a7a4d6832115c876b74;hp=4642ebc7bd46bdf37910264055444b05a913b355;hpb=d755f9638255472107ae445f4f82d8fcd3446b20;p=emu8051.git diff --git a/src/common/hexfile.h b/src/common/hexfile.h index 4642ebc..d130e1c 100644 --- a/src/common/hexfile.h +++ b/src/common/hexfile.h @@ -4,34 +4,22 @@ * Copyright (C) 1999 Jonathan St-André * Copyright (C) 1999 Hugo Villeneuve * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * This file is released under the GPLv2 */ #ifndef HEXFILE_H #define HEXFILE_H 1 +int +asciihex2int_get_error(void); + void int2asciihex(int val, char *str, int width); -int -asciihex2int(char *str); - unsigned int -Ascii2Hex(char *istring, int length); +asciihex2int(char *str); int -LoadHexFile(const char *filename); +hexfile_load(const char *filename); #endif /* HEXFILE_H */