From 31bb9c9e9d2417300fc29ab5753e869d742a1871 Mon Sep 17 00:00:00 2001 From: Alexander Malmberg Date: Thu, 8 Jan 2004 00:52:03 +0000 Subject: [PATCH] (GSCurrentThreadDictionary, NSStandardLibraryPaths): Fix the prototypes. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18334 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 10 ++++++++++ Headers/Additions/GNUstepBase/GSCategories.h | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 45ca1c881..58589a91f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-01-08 01:48 Alexander Malmberg + + * Headers/Additions/GNUstepBase/GSCategories.h + (GSCurrentThreadDictionary, NSStandardLibraryPaths): Fix the + prototypes (add explicit void:s). + + * Source/GSAttributedString.m (_setAttributesFrom): Initialize + range in the aRange.length==0 case. (Found by Andrew Ruder using + valgrind.) + 2004-01-06 Adam Fedor * Documentation/Base: New directory diff --git a/Headers/Additions/GNUstepBase/GSCategories.h b/Headers/Additions/GNUstepBase/GSCategories.h index 4383c3c2c..a8d81b6d1 100644 --- a/Headers/Additions/GNUstepBase/GSCategories.h +++ b/Headers/Additions/GNUstepBase/GSCategories.h @@ -300,7 +300,7 @@ typedef enum _NSGNUstepStringEncoding The implementations for gnustep-base reside in the corresponding source files of -base. */ -GS_EXPORT NSArray *NSStandardLibraryPaths(); +GS_EXPORT NSArray *NSStandardLibraryPaths(void); GS_EXPORT void NSDecimalFromComponents(NSDecimal *result, unsigned long long mantissa, short exponent, BOOL negative); @@ -310,7 +310,7 @@ GS_EXPORT BOOL GSDebugSet(NSString *level); GS_EXPORT NSString *GetEncodingName(NSStringEncoding availableEncodingValue); GS_EXPORT NSString *GSEncodingName(NSStringEncoding availableEncodingValue); -GS_EXPORT NSMutableDictionary *GSCurrentThreadDictionary(); +GS_EXPORT NSMutableDictionary *GSCurrentThreadDictionary(void); GS_EXPORT NSString *GSDebugMethodMsg(id obj, SEL sel, const char *file, int line, NSString *fmt);