summaryrefslogtreecommitdiffstats
path: root/src/tests/asn.1
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2005-11-18 01:22:06 +0000
committerKen Raeburn <raeburn@mit.edu>2005-11-18 01:22:06 +0000
commit852b8d4be02283bb44b5c8ff676a81fd0014c17a (patch)
treec4def5f90a2e3484f259e478aa2bfc40206d3539 /src/tests/asn.1
parentf308ff31e9ebc703d8aa79c0c4228f5752ced5db (diff)
downloadkrb5-852b8d4be02283bb44b5c8ff676a81fd0014c17a.tar.gz
krb5-852b8d4be02283bb44b5c8ff676a81fd0014c17a.tar.xz
krb5-852b8d4be02283bb44b5c8ff676a81fd0014c17a.zip
Fix additional cases where krb5.h is included before k5-int.h. In most cases,
it suffices to remove the inclusion of k5-int.h, sometimes including errno.h or another header. In a couple cases, include order has been changed, or k5-int.h has been included instead of krb5.h. ticket: 3236 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17494 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests/asn.1')
-rw-r--r--src/tests/asn.1/ChangeLog5
-rw-r--r--src/tests/asn.1/utility.c2
-rw-r--r--src/tests/asn.1/utility.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/src/tests/asn.1/ChangeLog b/src/tests/asn.1/ChangeLog
index cdf67b469..dbe7c3ba6 100644
--- a/src/tests/asn.1/ChangeLog
+++ b/src/tests/asn.1/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * utility.h: Don't include krb5.h.
+ * utility.c: Include utility.h before krb5.h.
+
2005-06-01 Ken Raeburn <raeburn@mit.edu>
* trval.c (convert_nibble): Declare the argument with a type.
diff --git a/src/tests/asn.1/utility.c b/src/tests/asn.1/utility.c
index 526cdce2d..660161fa1 100644
--- a/src/tests/asn.1/utility.c
+++ b/src/tests/asn.1/utility.c
@@ -1,5 +1,5 @@
-#include "krb5.h"
#include "utility.h"
+#include "krb5.h"
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
diff --git a/src/tests/asn.1/utility.h b/src/tests/asn.1/utility.h
index fa79258e5..4c761244f 100644
--- a/src/tests/asn.1/utility.h
+++ b/src/tests/asn.1/utility.h
@@ -1,7 +1,6 @@
#ifndef __UTILITY_H__
#define __UTILITY_H__
-#include "krb5.h"
#include "krbasn1.h"
#include "asn1buf.h"