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/lib | |
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/lib')
-rw-r--r-- | src/ccapi/lib/ccapi_ccache.c | 4 | ||||
-rw-r--r-- | src/ccapi/lib/ccapi_context.c | 10 | ||||
-rw-r--r-- | src/ccapi/lib/ccapi_context_change_time.c | 4 |
3 files changed, 15 insertions, 3 deletions
diff --git a/src/ccapi/lib/ccapi_ccache.c b/src/ccapi/lib/ccapi_ccache.c index b2ea37a1d..f168c0a32 100644 --- a/src/ccapi/lib/ccapi_ccache.c +++ b/src/ccapi/lib/ccapi_ccache.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 @@ -140,7 +140,9 @@ cc_int32 cci_ccache_write (cc_ccache_t in_ccache, return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ diff --git a/src/ccapi/lib/ccapi_context.c b/src/ccapi/lib/ccapi_context.c index 031c62a3a..7a165cf98 100644 --- a/src/ccapi/lib/ccapi_context.c +++ b/src/ccapi/lib/ccapi_context.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 @@ -75,7 +75,9 @@ cc_context_f cci_context_f_initializer = { static cc_int32 cci_context_sync (cci_context_t in_context, cc_uint32 in_launch); +#ifdef TARGET_OS_MAC #pragma mark - +#endif MAKE_INIT_FUNCTION(cci_thread_init); @@ -96,7 +98,9 @@ static int cci_thread_init (void) return err; } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -172,7 +176,9 @@ cc_int32 cc_initialize (cc_context_t *out_context, return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ @@ -739,7 +745,9 @@ cc_int32 ccapi_context_compare (cc_context_t in_context, return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ diff --git a/src/ccapi/lib/ccapi_context_change_time.c b/src/ccapi/lib/ccapi_context_change_time.c index fb5b7ddae..f701c22fe 100644 --- a/src/ccapi/lib/ccapi_context_change_time.c +++ b/src/ccapi/lib/ccapi_context_change_time.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 @@ -98,7 +98,9 @@ static cc_int32 cci_context_change_time_update_identifier (cci_identifier_t in_ return cci_check_error (err); } +#ifdef TARGET_OS_MAC #pragma mark - +#endif /* ------------------------------------------------------------------------ */ |