Clean up some prototypes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15714 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-01-26 17:49:35 +00:00
parent 2eb03143c3
commit 9b5e901493
5 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2003-01-26 18:46 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSGraphics.h,
Headers/gnustep/gui/NSGraphicsContext.h, Source/NSGraphicsContext,
Source/NSWindow.m: Clean up some prototypes.
2003-01-20 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSImage.m (NSImageCacheMore): New enum and ivar.

View file

@ -202,7 +202,7 @@ GSWViewIsFlipped(NSGraphicsContext *ctxt)
@class NSArray;
@class NSWindow;
APPKIT_EXPORT NSArray* GSAllWindows();
APPKIT_EXPORT NSArray* GSAllWindows(void);
APPKIT_EXPORT NSWindow* GSWindowWithNumber(int num);
#endif

View file

@ -181,7 +181,7 @@ typedef enum _GSColorSpace
@end
#ifndef NO_GNUSTEP
APPKIT_EXPORT NSGraphicsContext *GSCurrentContext();
APPKIT_EXPORT NSGraphicsContext *GSCurrentContext(void);
@interface NSGraphicsContext (GNUstep)
+ (void) setDefaultContextClass: (Class)defaultContextClass;

View file

@ -81,7 +81,7 @@ NSString *GSColorSpaceColorTable = @"GSColorSpaceColorTable";
/*
* Function for rapid access to current graphics context.
*/
NSGraphicsContext *GSCurrentContext()
NSGraphicsContext *GSCurrentContext(void)
{
#ifdef GNUSTEP_BASE_LIBRARY
/*

View file

@ -4109,7 +4109,7 @@ void NSWindowList(int size, int list[])
/* FIXME - the list produced should be in window stacking order */
}
NSArray* GSAllWindows()
NSArray* GSAllWindows(void)
{
return NSAllMapTableValues(windowmaps);
}