mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Tweaks to avoid compiler warnings with gcc-4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
59fed7cd35
commit
9ac16024f5
53 changed files with 502 additions and 322 deletions
|
@ -29,6 +29,10 @@
|
|||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSString.h"
|
||||
|
||||
@class GSNotification;
|
||||
@interface GSNotification : NSObject // Help the compiler
|
||||
@end
|
||||
|
||||
/**
|
||||
* <p>Represents a notification for posting to an [NSNotificationCenter].
|
||||
* Consists of a name, an object, and an optional dictionary. The
|
||||
|
@ -43,9 +47,7 @@
|
|||
static Class abstractClass = 0;
|
||||
static Class concreteClass = 0;
|
||||
|
||||
@class GSNotification;
|
||||
|
||||
+ (NSNotification*) allocWithZone: (NSZone*)z
|
||||
+ (id) allocWithZone: (NSZone*)z
|
||||
{
|
||||
if (self == abstractClass)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue