From 432df0d14d35e08780f9ebbe138e4211f7299ea5 Mon Sep 17 00:00:00 2001 From: Alexander Malmberg Date: Mon, 9 Aug 2004 22:51:38 +0000 Subject: [PATCH] Add some missing void:s. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19860 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSAttributedString.m | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 84eef9765..6b9ab114a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-08-10 00:47 Alexander Malmberg + + * Source/NSAttributedString.m (cache_init, cache_init_real): Add + missing void:s. + 2004-08-10 00:06 Alexander Malmberg * Source/GSHorizontalTypesetter.m: Formatting cleanups. diff --git a/Source/NSAttributedString.m b/Source/NSAttributedString.m index 7efc3ab43..086e0f4ce 100644 --- a/Source/NSAttributedString.m +++ b/Source/NSAttributedString.m @@ -58,7 +58,7 @@ static NSString *attachmentString = nil; /* This function initializes all the previous cached values. */ -static void cache_init_real () +static void cache_init_real(void) { NSMutableCharacterSet *m; NSCharacterSet *cset; @@ -96,7 +96,7 @@ static void cache_init_real () cache has been initialized) and limit memory consumption (we are not copying everywhere the real initialization code, which is in cache_real_init (), which is not inlined.).*/ -static inline void cache_init () +static inline void cache_init(void) { if (dictionaryClass == nil) {