mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-17 19:21:56 +00:00
Openbsd malloc.h warning fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37368 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
169daabc3b
commit
ae9f830228
4 changed files with 16 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2013-11-07 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
|
* Source/GSFormat.m
|
||||||
|
* Source/NSException.m
|
||||||
|
* Source/NSConnection.m
|
||||||
|
Openbsd malloc.h warning fix.
|
||||||
|
|
||||||
2013-11-05 German Arias <germanandre@gmx.es>
|
2013-11-05 German Arias <germanandre@gmx.es>
|
||||||
|
|
||||||
* Source/NSUndoManager.m (-undoActionName): Try first with the name
|
* Source/NSUndoManager.m (-undoActionName): Try first with the name
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/** Implementation of GNUSTEP printf-style formatting
|
/** Implementation of GNUSTEP printf-style formatting
|
||||||
Copyright (C) 1994-2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1994-2000, 2001-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Hacked together by Kai Henningsen <kai@cats.ms>
|
Hacked together by Kai Henningsen <kai@cats.ms>
|
||||||
from the glibc 2.2.1 sources
|
from the glibc 2.2.1 sources
|
||||||
|
@ -51,8 +51,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MALLOC_H
|
#ifdef HAVE_MALLOC_H
|
||||||
|
#if !defined(__OpenBSD__)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef HAVE_ALLOCA_H
|
#ifdef HAVE_ALLOCA_H
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -99,9 +101,6 @@ typedef uint32_t wint_t;
|
||||||
#ifdef HAVE_SYS_INTTYPES_H
|
#ifdef HAVE_SYS_INTTYPES_H
|
||||||
#include <sys/inttypes.h>
|
#include <sys/inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_MALLOC_H
|
|
||||||
#include <malloc.h>
|
|
||||||
#endif
|
|
||||||
#ifndef HAVE_UINTMAX_T
|
#ifndef HAVE_UINTMAX_T
|
||||||
typedef unsigned long long uintmax_t;
|
typedef unsigned long long uintmax_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/** Implementation of connection object for remote object messaging
|
/** Implementation of connection object for remote object messaging
|
||||||
Copyright (C) 1994, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1994-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Created by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
Created by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
||||||
Date: July 1994
|
Date: July 1994
|
||||||
|
@ -73,8 +73,10 @@
|
||||||
#define EXPOSE_NSDistantObject_IVARS 1
|
#define EXPOSE_NSDistantObject_IVARS 1
|
||||||
|
|
||||||
#ifdef HAVE_MALLOC_H
|
#ifdef HAVE_MALLOC_H
|
||||||
|
#if !defined(__OpenBSD__)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef HAVE_ALLOCA_H
|
#ifdef HAVE_ALLOCA_H
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/** NSException - Object encapsulation of a general exception handler
|
/** NSException - Object encapsulation of a general exception handler
|
||||||
Copyright (C) 1993, 1994, 1996, 1997, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1993-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Written by: Adam Fedor <fedor@boulder.colorado.edu>
|
Written by: Adam Fedor <fedor@boulder.colorado.edu>
|
||||||
Date: Mar 1995
|
Date: Mar 1995
|
||||||
|
@ -48,8 +48,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MALLOC_H
|
#ifdef HAVE_MALLOC_H
|
||||||
|
#if !defined(__OpenBSD__)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef HAVE_ALLOCA_H
|
#ifdef HAVE_ALLOCA_H
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue