This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
patch for dynl.c
- To: guile@cygnus.com
- Subject: patch for dynl.c
- From: "Mark E." <snowball3@bigfoot.com>
- Date: Sat, 19 Jun 1999 20:27:07 -0400
Hello,
While working on porting Guile in CVS to DJGPP, I found two instances
of a declaration not matching its prototype in libguile/dynl.c.
Here's the patch for the mismatch:
Sat Jun 19 Mark Elbrecht <snowball3@bigfoot.com>
* dynl.c (sysdep_dynl_link, sysdep_dynl_func): Fix declarations to
match with prototypes.
*** libguile/dynl.c.orig Sat Feb 6 07:30:12 1999
--- libguile/dynl.c Fri Jun 18 20:19:34 1999
*************** sysdep_dynl_link (filename, subr)
*** 271,286 ****
static void
sysdep_dynl_unlink (handle, subr)
void *handle;
! char *subr;
{
no_dynl_error (subr);
}
static void *
sysdep_dynl_func (symbol, handle, subr)
! char *symbol;
void *handle;
! char *subr;
{
no_dynl_error (subr);
return NULL;
--- 271,286 ----
static void
sysdep_dynl_unlink (handle, subr)
void *handle;
! const char *subr;
{
no_dynl_error (subr);
}
static void *
sysdep_dynl_func (symbol, handle, subr)
! const char *symbol;
void *handle;
! const char *subr;
{
no_dynl_error (subr);
return NULL;
---
Mark Elbrecht, snowball3@bigfoot.com
http://snowball.frogspace.net/