Remove spurious commas in enums.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35308 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2012-07-20 12:39:35 +00:00
parent e447a91b60
commit c257d44725
11 changed files with 12 additions and 12 deletions

View file

@ -47,7 +47,7 @@ enum {
NSBundleExecutableArchitectureI386 = 0x00000007,
NSBundleExecutableArchitecturePPC = 0x00000012,
NSBundleExecutableArchitecturePPC64 = 0x01000012,
NSBundleExecutableArchitectureX86_64 = 0x01000007,
NSBundleExecutableArchitectureX86_64 = 0x01000007
};
#endif

View file

@ -39,13 +39,13 @@ typedef enum _NSComparisonPredicateModifier
{
NSDirectPredicateModifier=0,
NSAllPredicateModifier,
NSAnyPredicateModifier,
NSAnyPredicateModifier
} NSComparisonPredicateModifier;
typedef enum _NSComparisonPredicateOptions
{
NSCaseInsensitivePredicateOption=0x01,
NSDiacriticInsensitivePredicateOption=0x02,
NSDiacriticInsensitivePredicateOption=0x02
} NSComparisonPredicateOptions;
typedef enum _NSPredicateOperatorType

View file

@ -52,7 +52,7 @@ enum
{
NSDateFormatterBehaviorDefault = 0,
NSDateFormatterBehavior10_0 = 1000,
NSDateFormatterBehavior10_4 = 1040,
NSDateFormatterBehavior10_4 = 1040
};
typedef NSUInteger NSDateFormatterBehavior;
#endif

View file

@ -52,7 +52,7 @@ enum {
NSHashTableCopyIn
= NSPointerFunctionsCopyIn,
NSHashTableObjectPointerPersonality
= NSPointerFunctionsObjectPointerPersonality,
= NSPointerFunctionsObjectPointerPersonality
};
typedef NSUInteger NSHashTableOptions;

View file

@ -94,7 +94,7 @@ typedef NSUInteger NSPostingStyle;
enum {
NSNotificationNoCoalescing = 0,
NSNotificationCoalescingOnName = 1,
NSNotificationCoalescingOnSender = 2,
NSNotificationCoalescingOnSender = 2
};
typedef NSUInteger NSNotificationCoalescing;

View file

@ -186,7 +186,7 @@ enum
NSLocalDomainMask = 2, /** Local for all users on the machine */
NSNetworkDomainMask = 4, /** Public for all users on network */
NSSystemDomainMask = 8, /** Standard GNUstep items */
NSAllDomainsMask = 0x0ffff, /** all domains */
NSAllDomainsMask = 0x0ffff /** all domains */
};
/**
* Mask type for NSSearchPathForDirectoriesInDomains() function. A bitwise OR

View file

@ -62,7 +62,7 @@ enum {
NSPropertyListBinaryFormat_v1_0 = 200,
NSPropertyListGNUstepFormat = 1000,
NSPropertyListGNUstepBinaryFormat,
NSPropertyListGNUstepBinaryFormat
};
#if OS_API_VERSION(100600,GS_API_LATEST)

View file

@ -47,7 +47,7 @@ typedef enum
{
NSURLCacheStorageAllowed, /** Unrestricted caching */
NSURLCacheStorageAllowedInMemoryOnly, /** In memory caching only */
NSURLCacheStorageNotAllowed, /** No caching allowed */
NSURLCacheStorageNotAllowed /** No caching allowed */
} NSURLCacheStoragePolicy;

View file

@ -86,7 +86,7 @@ enum
NSURLErrorCannotRemoveFile = -3004,
NSURLErrorCannotMoveFile = -3005,
NSURLErrorDownloadDecodingFailedMidStream = -3006,
NSURLErrorDownloadDecodingFailedToComplete = -3007,
NSURLErrorDownloadDecodingFailedToComplete = -3007
};
#if defined(__cplusplus)

View file

@ -46,7 +46,7 @@ enum
NSURLRequestUseProtocolCachePolicy,
NSURLRequestReloadIgnoringCacheData,
NSURLRequestReturnCacheDataElseLoad,
NSURLRequestReturnCacheDataDontLoad,
NSURLRequestReturnCacheDataDontLoad
};
/**
* <deflist>

View file

@ -295,7 +295,7 @@ NSCopyMemoryPages (const void *src, void *dest, NSUInteger bytes);
enum {
NSScannedOption = (1<<0),
NSCollectorDisabledOption = (1<<1),
NSCollectorDisabledOption = (1<<1)
};
/** Allocate memory. If garbage collection is not enabled this uses the