OpenIndiana and Solaris port

This commit is contained in:
Ulrich Wilkens
2014-10-28 19:46:43 +01:00
committed by Jon Trulson
parent 42e891d9e7
commit 01d6c363fa
296 changed files with 1049 additions and 1091 deletions

View File

@@ -71,5 +71,4 @@ while (TRUE)
#include "case.c"
if (m_token == ENDFILE) exit(FALSE) ;
}
return 0;
}

View File

@@ -267,9 +267,9 @@ switch (newpar->type)
ret = mbtowc(string, " ", 1);
}
}
return ;
}
(void) ret;
return;
}
/* Called at end of parameter attribute list rule */

View File

@@ -160,13 +160,13 @@ while (TRUE)
char mbyte[32]; /* bigger than the biggest multibyte char */
ret = wctomb(mbyte, c);
(void) ret;
fprintf(stderr, "\n'%s' (%d)", mbyte, c);
fprintf(m_errfile, "\n'%s' (%d)", mbyte, c);
m_error("Unexpected character");
}
} /* End while */
(void) ret;
} /* End scan */
#include "scanutil.c"

View File

@@ -60,7 +60,7 @@ EXTRA_LOAD_FLAGS = -Wl,-a archive
#endif
#if defined (SunArchitecture)
SYS_LIBRARIES = -lm -ldl -lgen -lC
SYS_LIBRARIES = -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(OBJS)

View File

@@ -78,7 +78,7 @@ LOCAL_LIBRARIES = $(HELPUTILLIB)
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
#if defined (SunArchitecture)
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen -lC
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(HELPTAGSRC)/dthelp_ctag1

View File

@@ -98,7 +98,7 @@ void m_free(block, msg)
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) block >> 16),
(unsigned int) block, msg) ;
(unsigned int) block) ;
#else
snprintf(buffer, 32, " %9p", block) ;
#endif

View File

@@ -71,5 +71,4 @@ while (TRUE)
#include "case.c"
if (m_token == ENDFILE) exit(FALSE) ;
}
return 0;
}

View File

@@ -267,9 +267,9 @@ switch (newpar->type)
ret = mbtowc(string, " ", 1);
}
}
return ;
}
(void) ret;
return;
}
/* Called at end of parameter attribute list rule */

View File

@@ -160,13 +160,13 @@ while (TRUE)
char mbyte[32]; /* bigger than the biggest multibyte char */
ret = wctomb(mbyte, c);
(void) ret;
fprintf(stderr, "\n'%s' (%d)", mbyte, c);
fprintf(m_errfile, "\n'%s' (%d)", mbyte, c);
m_error("Unexpected character");
}
} /* End while */
(void) ret;
} /* End scan */
#include "scanutil.c"

View File

@@ -60,7 +60,7 @@ EXTRA_LOAD_FLAGS = -Wl,-a archive
#endif
#if defined (SunArchitecture)
SYS_LIBRARIES = -lm -ldl -lgen -lC
SYS_LIBRARIES = -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(OBJS)

View File

@@ -78,7 +78,7 @@ LOCAL_LIBRARIES = $(HELPUTILLIB)
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
#if defined (SunArchitecture)
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen -lC
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(HELPTAGSRC)/dthelp_htag1

View File

@@ -98,7 +98,7 @@ void m_free(block, msg)
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) block >> 16),
(unsigned int) block, msg) ;
(unsigned int) block) ;
#else
snprintf(buffer, 32, " %9p", block) ;
#endif

View File

@@ -71,5 +71,4 @@ while (TRUE)
#include "case.c"
if (m_token == ENDFILE) exit(FALSE) ;
}
return 0;
}

View File

@@ -267,9 +267,9 @@ switch (newpar->type)
ret = mbtowc(string, " ", 1);
}
}
return ;
}
(void) ret;
return;
}
/* Called at end of parameter attribute list rule */

View File

@@ -160,13 +160,13 @@ while (TRUE)
char mbyte[32]; /* bigger than the biggest multibyte char */
ret = wctomb(mbyte, c);
(void) ret;
fprintf(stderr, "\n'%s' (%d)", mbyte, c);
fprintf(m_errfile, "\n'%s' (%d)", mbyte, c);
m_error("Unexpected character");
}
} /* End while */
(void) ret;
} /* End scan */
#include "scanutil.c"

View File

@@ -52,7 +52,7 @@ EXTRA_LOAD_FLAGS = -Wl,-a archive
#endif
#if defined (SunArchitecture)
SYS_LIBRARIES = -lm -ldl -lgen -lC
SYS_LIBRARIES = -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(OBJS)

View File

@@ -69,7 +69,7 @@ LOCAL_LIBRARIES = $(SDLUTILLIB)
SYS_LIBRARIES = $(XLIB) DtClientSysLibs
#if defined (SunArchitecture)
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen -lC
SYS_LIBRARIES = $(XLIB) -lm -ldl -lgen
#endif /* SunArchitecture */
all:: $(HTAG2SRC)/dthelp_htag2

View File

@@ -98,7 +98,7 @@ void m_free(block, msg)
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(__uxp__)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) block >> 16),
(unsigned int) block, msg) ;
(unsigned int) block) ;
#else
snprintf(buffer, 32, " %9p", block) ;
#endif