Mercurial > hg > xemacs-beta
diff src/unexsol2.c @ 203:850242ba4a81 r20-3b28
Import from CVS: tag r20-3b28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:02:21 +0200 |
parents | 131b0175ea99 |
children | 92f8ad5d0d3f |
line wrap: on
line diff
--- a/src/unexsol2.c Mon Aug 13 10:01:24 2007 +0200 +++ b/src/unexsol2.c Mon Aug 13 10:02:21 2007 +0200 @@ -20,7 +20,7 @@ /* Synched up with: Not in FSF. */ -/* #pragma ident "@(#) $Id: unexsol2.c,v 1.1.1.1 1996/12/18 22:44:08 steve Exp $" */ +/* #pragma ident "@(#) $Id: unexsol2.c,v 1.2 1997/10/12 01:40:18 steve Exp $" */ #include <stdlib.h> #include <stdio.h> @@ -36,7 +36,7 @@ unsigned int bss_start, unsigned int entry_address) { void *handle; - void (*func)(const char *file); + void (*func)(CONST char *file); if ((handle = dlopen (DYNODUMP_SO, RTLD_LAZY)) == NULL) { @@ -45,7 +45,7 @@ exit (1); } - if ((func = (void (*)(const char *)) dlsym (handle, DYNODUMP_SYM)) == NULL) + if ((func = (void (*)(CONST char *)) dlsym (handle, DYNODUMP_SYM)) == NULL) { fprintf (stderr, "unexec(): dlsym(%s): %s \n", (char *) DYNODUMP_SYM, dlerror());