Fix warnings on FreeBSD

This commit is contained in:
Ulrich Wilkens
2018-06-01 03:55:10 +02:00
committed by Jon Trulson
parent 885b65a09a
commit 297b6bd845
65 changed files with 342 additions and 269 deletions

View File

@@ -17,7 +17,7 @@ XCOMM (c) Copyright 1996 Hitachi.
#define LibCreate NO
#define CplusplusSource YES
DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl>

View File

@@ -61,10 +61,6 @@
#include <sys/ptyio.h>
#endif
#if defined(__cplusplus)
#include <osfcn.h>
#endif
#if defined(__apollo) && !defined(ONLCR)
# define ONLCR 0 /* This guy (XPG3), not on apollo yet */
#endif

View File

@@ -53,11 +53,11 @@
#include <ndir.h>
#else
#if defined(sun)
#if defined(sun) || defined(CSRG_BASED)
#include <dirent.h>
#else
#include <sys/dir.h>
#endif /* sun */
#endif /* sun || CSRD_BASED */
#endif /* __hpux */

View File

@@ -51,11 +51,11 @@
#include <ndir.h>
#else
#if defined(sun)
#if defined(sun) || defined(CSRG_BASED)
#include <dirent.h>
#else
#include <sys/dir.h>
#endif /* sun */
#endif /* sun || CSRG_BASED */
#endif /* __hpux */

View File

@@ -150,6 +150,9 @@ static char SCCSID[] = "OSF/Motif: @(#)_DtosP.h 4.16 91/09/12";
# ifdef __GNUC__
# ifdef alloca
# undef alloca
# endif
# define alloca __builtin_alloca
# define ALLOCATE_LOCAL(size) alloca((int)(size))
# define DEALLOCATE_LOCAL(ptr) /* as nothing */

View File

@@ -40,11 +40,11 @@
#ifdef __hpux
#include <ndir.h> /* opendir(), directory(3C) */
#else
#if defined(sun)
#if defined(sun) || defined(CSRG_BASED)
#include <dirent.h> /* opendir(), directory(3C) */
#else
#include <sys/dir.h>
#endif /* sun */
#endif /* sun || CSRG_BASED */
#endif /* __hpux */
#include <X11/Xlib.h>

View File

@@ -38,7 +38,7 @@
#ifdef __hpux
#include <ndir.h>
#else
#if defined(sun)
#if defined(sun) || defined(CSRG_BASED)
#include <dirent.h>
#else
#include <sys/dir.h>

View File

@@ -33,7 +33,7 @@
*/
#ifndef _usersig_h
#define _usesig_h
#define _usersig_h
/* -------------------------------------------- */
/* Requires: */