platform specific preprocessor variables used to selectively
import other header files
ticket: 2068
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15921
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-12-14 Jeffrey Altman <jaltman@mit.edu>
+
+ * all files: move prof-int.h to be the first include file
+ in order to obtain platform specific config preprocessor
+ variables which are used to selectively include stdlib.h
+
2003-07-03 Alexandra Ellwood <lxs@mit.edu>
* profile.hin: Remove leading spaces in #define and #include
* Version 1.1, modified 2/27/1999
*/
+#include "prof_int.h"
+
+#ifdef HAVE_STDLIB_H
#include <stdlib.h>
+#endif
#include <ctype.h>
#include <string.h>
#include "argv_parse.h"
* prof_file.c ---- routines that manipulate an individual profile file.
*/
+#include "prof_int.h"
+
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <string.h>
-#include "prof_int.h"
-
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
*
*/
+#include "prof_int.h"
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
#endif
#include <errno.h>
#include <limits.h>
-#include "prof_int.h"
/*
* These functions --- init_list(), end_list(), and add_to_list() are
* object.
*/
+#include "prof_int.h"
+
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
#endif
#include <errno.h>
-#include "prof_int.h"
-
/* Find a 4-byte integer type */
#if (SIZEOF_SHORT == 4)
typedef short prof_int32;
+#include "prof_int.h"
+
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
#include <errno.h>
#include <ctype.h>
-#include "prof_int.h"
-
#define SECTION_SEP_CHAR '/'
#define STATE_INIT_COMMENT 1
*
*/
+#include "prof_int.h"
+
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
#endif
#include <errno.h>
-#include "prof_int.h"
-
static errcode_t rw_setup(profile)
profile_t profile;
{
*/
+#include "prof_int.h"
+
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
#include <errno.h>
#include <ctype.h>
-#include "prof_int.h"
-
struct profile_node {
errcode_t magic;
char *name;
+#include "prof_int.h"
+
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
#include <errno.h>
#include <ctype.h>
-#include "prof_int.h"
-
void dump_profile (struct profile_node *root, int level);
int main(argc, argv)
* test_profile.c --- testing program for the profile routine
*/
+#include "prof_int.h"
+
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
-#include "prof_int.h"
#include "argv_parse.h"
#include "com_err.h"