mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
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:
parent
8a4bf3083a
commit
e9f14f9b71
3 changed files with 13 additions and 6 deletions
|
@ -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:
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue