Changeset 49


Ignore:
Timestamp:
Jul 11, 2006, 10:13:37 PM (18 years ago)
Author:
rainer
Message:

Fix for compile failures (solaris 8, AIX 5.2)

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r48 r49  
     1
     2        * fix sh_extern.c: sh_ext_add_default() cast to (void) was too early
     3          (Solaris 8 build failure reported by Jesse)
     4        * fix sh_unix.c: wrong prototype for sh_unix_mlock()
     5          if HAVE_BROKEN_MLOCK (AIX 5.2 build failure reported by
     6          Jonathan Kaufman)
     7
    182.2.1b (20-06-2006):
    29        * fix compile error on SuSE 10.1 (reported by Leonhard Maylein)
  • trunk/src/kern_head.c

    r41 r49  
    143143  if (fd < 0)
    144144    {
    145       perror("read_kcode: open");
     145      perror("read_kcode: open /dev/kmem");
    146146      return -1;
    147147    }
  • trunk/src/sh_extern.c

    r34 r49  
    10771077int sh_ext_add_default (const char * dummy)
    10781078{
    1079   (void) dummy;
    10801079  char * p = NULL;
    10811080  int    i;
     1081
     1082  (void) dummy;
    10821083
    10831084  SL_ENTER(_("sh_ext_add_default"));
     
    11021103{
    11031104  int i;
     1105
    11041106  SL_ENTER(_("sh_ext_add_environ"));
    11051107  i = sh_ext_add_envv (NULL, str);
  • trunk/src/sh_unix.c

    r42 r49  
    39263926}
    39273927#else
    3928 int sh_unix_mlock (void * in_addr, size_t len)
    3929 {
     3928int sh_unix_mlock (char * file, int line, void * in_addr, size_t len)
     3929{
     3930  (void) file;    (void) line;
    39303931  (void) in_addr; (void) len;
    39313932  return -1;
Note: See TracChangeset for help on using the changeset viewer.