mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Add explicit return types to a couple of methods and __attribute__((unused)) to
some functions with empty bodies so people don't get compiler warnings from importing AppKit.h git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35035 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4efed91607
commit
4feae5ffce
3 changed files with 6 additions and 4 deletions
|
@ -78,7 +78,7 @@
|
|||
// NSCoding protocol
|
||||
//
|
||||
- (void)encodeWithCoder: (NSCoder *)aCoder;
|
||||
- initWithCoder: (NSCoder *)aDecoder;
|
||||
- (id)initWithCoder: (NSCoder *)aDecoder;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ typedef enum _NSPrinterTableStatus {
|
|||
//
|
||||
- (void) encodeWithCoder: (NSCoder*) aCoder;
|
||||
|
||||
- initWithCoder: (NSCoder*) aDecoder;
|
||||
- (id)initWithCoder: (NSCoder*) aDecoder;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -420,13 +420,15 @@ PSsetrgbcolor(float r, float g, float b)
|
|||
}
|
||||
|
||||
static inline void
|
||||
PScountwindowlist(int d, int *c)
|
||||
PScountwindowlist(int __attribute__((unused)) d, int __attribute__((unused)) *c)
|
||||
{
|
||||
// dummy implementation for now... GJC
|
||||
}
|
||||
|
||||
static inline void
|
||||
PSwindowlist(int d, int c, int *array)
|
||||
PSwindowlist(int __attribute__((unused)) d,
|
||||
int __attribute__((unused)) c,
|
||||
int __attribute__((unused)) *array)
|
||||
{
|
||||
// dummy implementation for now... GJC
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue