pull up r17012 from trunk, minus stats update stuff which only affects
authorTom Yu <tlyu@mit.edu>
Mon, 31 Oct 2005 22:25:42 +0000 (22:25 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 31 Oct 2005 22:25:42 +0000 (22:25 +0000)
trunk

ticket: 3227
version_fixed: 1.4.3

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@17472 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/k5-thread.h

index f85a55e2493c8fcdd7bdc37406cd79b291671c15..6c62c9214b583e131b53b20a280e2820010d1cf4 100644 (file)
        * k5-platform.h (PROGRAM_EXITING) [__GNUC__ && !_WIN32 &&
        CONSTRUCTOR_ATTR_WORKS]: Define as zero.
 
+2005-01-07  Ken Raeburn  <raeburn@mit.edu>
+
+       * k5-thread.h (KRB5_CALLCONV, KRB5_CALLCONV_C): Define if not
+       defined.
+       (k5_debug_make_loc): Change "lineno" to type int.
+       (k5_debug_make_loc): Likewise for argument "line".
+
 2005-01-04  Jeffrey Altman <jaltman@mit.edu>
 
         * win-mac.h: define NEED_INSIXADDR_ANY for ipv6 symbol
index d750003a00ee6173656cf7606548550ac1f52e22..fa1f63bb4781cd7f40d38a03f60e3a83d990c1d9 100644 (file)
 #define K5_THREAD_H
 
 #include "autoconf.h"
+#ifndef KRB5_CALLCONV
+# define KRB5_CALLCONV
+#endif
+#ifndef KRB5_CALLCONV_C
+# define KRB5_CALLCONV_C
+#endif
 
 \f/* Interface (tentative):
 
 #ifdef DEBUG_THREADS_LOC
 typedef struct {
     const char *filename;
-    short lineno;
+    int lineno;
 } k5_debug_loc;
 #define K5_DEBUG_LOC_INIT      { __FILE__, __LINE__ }
 #if __GNUC__ >= 2
 #define K5_DEBUG_LOC           (__extension__ (k5_debug_loc)K5_DEBUG_LOC_INIT)
 #else
-static inline k5_debug_loc k5_debug_make_loc(const char *file, short line)
+static inline k5_debug_loc k5_debug_make_loc(const char *file, int line)
 {
     k5_debug_loc l;
     l.filename = file;