diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2007-11-01 08:08:32 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2007-11-01 08:08:32 +0000 |
| commit | 02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4 (patch) | |
| tree | 017d68560700e8e53480c218eecbcc09f55d3de1 /src/ccapi/common | |
| parent | 3f3ceb8cc3f6ca0e62dac213e3fa2a79b8c05ebe (diff) | |
| download | krb5-02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4.tar.gz krb5-02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4.tar.xz krb5-02c259aa1ae59c48ab0ae6cbb7168d6e26ca22a4.zip | |
Conditionalize "#pragma mark" on TARGET_OS_MAC.
Don't use "#pragma warning" when not on Windows. (In fact, the just-added uses
shouldn't be needed if the above conditional is done right, so one of them was
deleted.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20161 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/common')
| -rw-r--r-- | src/ccapi/common/cci_array_internal.c | 6 | ||||
| -rw-r--r-- | src/ccapi/common/cci_common.h | 4 | ||||
| -rw-r--r-- | src/ccapi/common/cci_identifier.c | 6 |
3 files changed, 11 insertions, 5 deletions
diff --git a/src/ccapi/common/cci_array_internal.c b/src/ccapi/common/cci_array_internal.c index d4975ba85..72f7f67a1 100644 --- a/src/ccapi/common/cci_array_internal.c +++ b/src/ccapi/common/cci_array_internal.c @@ -1,7 +1,7 @@ /* * $Header$ * - * Copyright 2006 Massachusetts Institute of Technology. + * Copyright 2006, 2007 Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may @@ -90,7 +90,9 @@ static cc_int32 cci_array_resize (cci_array_t io_array, return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -168,7 +170,9 @@ cci_array_object_t cci_array_object_at_index (cci_array_t io_array, } } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ diff --git a/src/ccapi/common/cci_common.h b/src/ccapi/common/cci_common.h index d9a6d5c62..56f21c370 100644 --- a/src/ccapi/common/cci_common.h +++ b/src/ccapi/common/cci_common.h @@ -1,7 +1,7 @@ /* * $Header$ * - * Copyright 2006 Massachusetts Institute of Technology. + * Copyright 2006, 2007 Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may @@ -43,8 +43,6 @@ #else #include "win-mac.h" #define VECTOR_FUNCTIONS_INITIALIZER -/* hide "#pragma mark" warnings on Windows */ -#pragma warning (disable: 4068) #endif #define k_cci_context_initial_ccache_name "Initial default ccache" diff --git a/src/ccapi/common/cci_identifier.c b/src/ccapi/common/cci_identifier.c index b6e918892..dac2e1544 100644 --- a/src/ccapi/common/cci_identifier.c +++ b/src/ccapi/common/cci_identifier.c @@ -1,7 +1,7 @@ /* * $Header$ * - * Copyright 2006 Massachusetts Institute of Technology. + * Copyright 2006, 2007 Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may @@ -151,7 +151,9 @@ cc_int32 cci_identifier_release (cci_identifier_t in_identifier) return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -233,7 +235,9 @@ cc_int32 cci_identifier_is_initialized (cci_identifier_t in_identifier, return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ |
