test_parse.c: Do not include "com_err.h" (typedef conflict)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9792
dc483132-0cff-0310-8789-
dd5450dbe970
Wed Feb 5 20:18:33 1997 Richard Basch <basch@lehman.com>
+ * profile.hin: Do not process the contents of profile.h
+ (or the profile.hin subset) more than once.
+
+ * test_parse.c:
+ Do not include "com_err.h" (conflicting errcode_t definition)
+
* Makefile.in:
Fixed typo (all-max -> all-mac)
Inconsistent colon usage; all-windows needed :: not :
* profile.h
*/
+#ifndef _KRB5_PROFILE_H
+#define _KRB5_PROFILE_H
+
typedef struct _profile_t *profile_t;
#if !defined(PROTOTYPE)
const char *subsubname, int def_val,
int *ret_default));
+#endif /* _KRB5_PROFILE_H */
#include "prof_int.h"
-#if !defined(_MSDOS) && !defined(_MACINTOSH)
-#include "com_err.h"
-#else
-
-#define initialize_prof_error_table()
-char *error_message (long err) {
- static char buf[50];
-
- sprintf (buf, " 0x%lX (%ld)", err, err);
- return buf;
-}
-#endif
-
void dump_profile PROTOTYPE((struct profile_node *root, int level));
int main(argc, argv)