summaryrefslogtreecommitdiffstats
path: root/src/include/k5-int.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-05-08 03:04:07 +0000
committerGreg Hudson <ghudson@mit.edu>2012-05-08 03:04:07 +0000
commit4d62b2a0dfd64f5bee8a49d996cbd19093c05763 (patch)
treecd96561e6abe2495a81b90acfa71af4ed802ac05 /src/include/k5-int.h
parent00c5cc84ae502e00bc1781c4a4f6ac0436c8dae2 (diff)
downloadkrb5-4d62b2a0dfd64f5bee8a49d996cbd19093c05763.tar.gz
krb5-4d62b2a0dfd64f5bee8a49d996cbd19093c05763.tar.xz
krb5-4d62b2a0dfd64f5bee8a49d996cbd19093c05763.zip
Use variadic macros to simplify k5-trace.h
Also fix the facility to make it possible to trace log without including k5-int.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25852 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/k5-int.h')
-rw-r--r--src/include/k5-int.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 23869c79c..2a4e8a73b 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -130,7 +130,6 @@ typedef unsigned char u_char;
#include "k5-platform.h"
-#include "k5-trace.h"
/* not used in krb5.h (yet) */
typedef UINT64_TYPE krb5_ui_8;
typedef INT64_TYPE krb5_int64;
@@ -183,6 +182,9 @@ typedef INT64_TYPE krb5_int64;
/* Get string buffer support. */
#include "k5-buf.h"
+/* Define tracing macros. */
+#include "k5-trace.h"
+
/* cofiguration variables */
#define KRB5_CONF_ACL_FILE "acl_file"
#define KRB5_CONF_ADMIN_SERVER "admin_server"
@@ -2605,7 +2607,6 @@ krb5_set_error_message_fl(krb5_context ctx, krb5_error_code code,
#ifndef DISABLE_TRACING
/* Do not use these functions directly; see k5-trace.h. */
void krb5int_init_trace(krb5_context context);
-void krb5int_trace(krb5_context context, const char *fmt, ...);
#endif
#endif /* _KRB5_INT_H */