This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch for dynl.c


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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]