--- mon/src/mon_cmd.cpp 1999/10/04 19:31:09 1.1 +++ mon/src/mon_cmd.cpp 1999/10/04 21:16:02 1.2 @@ -1,12 +1,24 @@ /* * mon_cmd.cpp - mon standard commands * - * (C) 1997-1999 Christian Bauer + * mon (C) 1997-1999 Christian Bauer, Marc Hellwig + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include -#include -#include +#include "sysdeps.h" #include "mon.h" #include "mon_cmd.h" @@ -15,6 +27,7 @@ #include "mon_x86.h" #include "mon_6502.h" #include "mon_8080.h" +#include "version.h" /* @@ -104,7 +117,7 @@ static inline uint8 char2print(uint8 c) void version(void) { - fprintf(monout, "mon V%d.%d\n", MON_VERSION, MON_REVISION); + fprintf(monout, "mon V%d.%d\n", VERSION_MAJOR, VERSION_MINOR); }