Author: rmottola
Date: Thu Jun 26 23:42:44 2014
New Revision: 37964

URL: http://svn.gna.org/viewcvs/gnustep?rev=37964&view=rev
Log:
Substitute #import with #include so that the header can be used in a pure C 
file without gcc warnings.

Modified:
    libs/base/trunk/ChangeLog
    libs/base/trunk/Headers/GNUstepBase/GSTypeEncoding.h
    libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=37964&r1=37963&r2=37964&view=diff
==============================================================================
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Thu Jun 26 23:42:44 2014
@@ -1,3 +1,10 @@
+2014-06-26 Riccardo Mottola <r...@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 <r...@gnu.org>
 
        * Source/NSSocketPortNameServer.m:

Modified: libs/base/trunk/Headers/GNUstepBase/GSTypeEncoding.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Headers/GNUstepBase/GSTypeEncoding.h?rev=37964&r1=37963&r2=37964&view=diff
==============================================================================
--- libs/base/trunk/Headers/GNUstepBase/GSTypeEncoding.h        (original)
+++ libs/base/trunk/Headers/GNUstepBase/GSTypeEncoding.h        Thu Jun 26 
23:42:44 2014
@@ -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 <ibadi...@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>

Modified: libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h?rev=37964&r1=37963&r2=37964&view=diff
==============================================================================
--- libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h       (original)
+++ libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h       Thu Jun 26 
23:42:44 2014
@@ -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 <r...@gnu.org>
    Date: Oct, October 2006
@@ -214,9 +214,9 @@
 
 
 #if    defined(GNUSTEP_BASE_INTERNAL)
-#import "GNUstepBase/GSConfig.h"
-#else
-#import <GNUstepBase/GSConfig.h>
+#include "GNUstepBase/GSConfig.h"
+#else
+#include <GNUstepBase/GSConfig.h>
 #endif
 
 


_______________________________________________
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to