git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14960 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-11-09 07:00:37 +00:00
parent 8355371659
commit 1ba5b88acd
3 changed files with 6 additions and 6 deletions

View file

@ -38,14 +38,14 @@ static double rint(double a)
* Runtime MacOS-X compatibility flags.
*/
BOOL GSMacOSXCompatibleGeometry()
BOOL GSMacOSXCompatibleGeometry(void)
{
if (GSUserDefaultsFlag(GSOldStyleGeometry) == YES)
return NO;
return GSUserDefaultsFlag(GSMacOSXCompatible);
}
BOOL GSMacOSXCompatiblePropertyLists()
BOOL GSMacOSXCompatiblePropertyLists(void)
{
if (GSUserDefaultsFlag(NSWriteOldStylePropertyLists) == YES)
return NO;
@ -114,7 +114,7 @@ encodeBase64(NSData *source)
static NSCharacterSet *quotables = nil;
static void setupQuotables()
static void setupQuotables(void)
{
if (quotables == nil)
{

View file

@ -40,9 +40,9 @@
# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall \
-Wcast-align \
#-Wpointer-arith \
#-Wcast-qual \
#-Wcast-align \
#-Wwrite-strings \
#-Wstrict-prototypes \
#-Wmissing-prototypes \

View file

@ -74,7 +74,7 @@ static const char *unicode_enc = NULL;
/* Check to see what type of internal unicode format the library supports */
static const char *
internal_unicode_enc()
internal_unicode_enc(void)
{
iconv_t conv;
unicode_enc = UNICODE_INT;
@ -179,7 +179,7 @@ static struct _strenc_ str_encoding_table[] = {
static struct _strenc_ **encodingTable = 0;
static unsigned encTableSize = 0;
static void GSSetupEncodingTable()
static void GSSetupEncodingTable(void)
{
if (encodingTable == 0)
{