Substitute #import with #include so that the header can be used in a pure C file without gcc warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37964 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2014-06-26 21:42:44 +00:00
parent f0bb6a5dcb
commit 828b9a3d5f
3 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,10 @@
2014-06-26 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSTypeEncoding.h
* Headers/GNUstepBase/GSVersionMacros.h
Substitute #import with #include so that the header can be used in
a pure C file without gcc warnings.
2014-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m:

View file

@ -1,7 +1,7 @@
/*
* Objective-C type encoding support
*
* Copyright (C) 2012-2013 Free Software Foundation, Inc.
* Copyright (C) 2012-2014 Free Software Foundation, Inc.
*
* Written by Marat Ibadinov <ibadinov@me.com>
*
@ -27,8 +27,8 @@
#ifndef GS_TYPE_ENCODING_H
#define GS_TYPE_ENCODING_H
#import <GNUstepBase/GSVersionMacros.h>
#import <GNUstepBase/GSConfig.h>
#include <GNUstepBase/GSVersionMacros.h>
#include <GNUstepBase/GSConfig.h>
#if defined (NeXT_RUNTIME)
# include <objc/objc-runtime.h>

View file

@ -1,5 +1,5 @@
/* GSVersionMacros.h - macros for managing API versioning and visibility
Copyright (C) 2006 Free Software Foundation, Inc.
Copyright (C) 2006-2014 Free Software Foundation, Inc.
Written by: Richard Frith-Macdonald <rfm@gnu.org>
Date: Oct, October 2006
@ -214,9 +214,9 @@
#if defined(GNUSTEP_BASE_INTERNAL)
#import "GNUstepBase/GSConfig.h"
#include "GNUstepBase/GSConfig.h"
#else
#import <GNUstepBase/GSConfig.h>
#include <GNUstepBase/GSConfig.h>
#endif