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) {