Windows debug message line endings were already correct; revert cci_debugging.c.
authorKevin Koch <kpkoch@mit.edu>
Tue, 22 Jan 2008 18:34:26 +0000 (18:34 +0000)
committerKevin Koch <kpkoch@mit.edu>
Tue, 22 Jan 2008 18:34:26 +0000 (18:34 +0000)
Declare cci_thread_init__auxinit instead of defining a new function.

TargetVersion: 1.7
Component: krb5-libs
Ticket: 5594

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20202 dc483132-0cff-0310-8789-dd5450dbe970

src/ccapi/common/cci_debugging.c
src/ccapi/lib/ccapi_context.c
src/ccapi/lib/ccapi_context.h

index e35926117c9b51bf37f96c4b832259c807fcde4c..4545b402ef2581a42658ba54efec244d0e181654 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * $Header$
  *
- * Copyright 2007, 2008 Massachusetts Institute of Technology.
+ * Copyright 2006 Massachusetts Institute of Technology.
  * All Rights Reserved.
  *
  * Export of this software from the United States of America may
 #include "cci_common.h"
 #include "cci_os_debugging.h"
 
-#ifdef WIN32
-char*   eol = "\n";
-#else
-char*   eol = "";
-#endif
-
 /* ------------------------------------------------------------------------ */
 
 cc_int32 _cci_check_error (cc_int32    in_error, 
@@ -42,8 +36,8 @@ cc_int32 _cci_check_error (cc_int32    in_error,
 {
     /* Do not log for flow control errors or when there is no error at all */
     if (in_error != ccNoError && in_error != ccIteratorEnd) {
-        cci_debug_printf ("%s() got %d at %s: %d%s", in_function, 
-                          in_error, in_file, in_line, eol);
+        cci_debug_printf ("%s() got %d at %s: %d", in_function, 
+                          in_error, in_file, in_line);
     }
     
     return in_error;    
index 6bcbd239a6d916a9f18b8bda38ff4400839f6e24..7a165cf98031234b63fb118722a809a2bc336b5d 100644 (file)
@@ -81,12 +81,6 @@ static cc_int32 cci_context_sync (cci_context_t in_context,
 
 MAKE_INIT_FUNCTION(cci_thread_init);
 
-#ifdef WIN32
-void cci_thread_init_helper() {
-    cci_thread_init__auxinit();
-    }
-#endif
-
 /* ------------------------------------------------------------------------ */
 
 static int cci_thread_init (void)
index a9989a12643ea61dbb5ebe859323199e4f757f9a..7462a056e442e1937f7665c7f885a5dd8db7f89d 100644 (file)
@@ -76,7 +76,7 @@ cc_int32 ccapi_context_compare (cc_context_t  in_context,
                                 cc_uint32    *out_equal);
 
 #ifdef WIN32
-void cci_thread_init_helper();
+void cci_thread_init__auxinit();
 #endif