]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Remove leading spaces in #define and #include in public headers to support K&R C...
authorAlexandra Ellwood <lxs@mit.edu>
Thu, 3 Jul 2003 19:46:49 +0000 (19:46 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Thu, 3 Jul 2003 19:46:49 +0000 (19:46 +0000)
ticket: 1648

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15667 dc483132-0cff-0310-8789-dd5450dbe970

src/util/profile/ChangeLog
src/util/profile/profile.hin

index cbaceb9729f4f41b943d7479af2c93427c9a4b3a..304c0315e2c4b82f8ecf3f142cc86475c972a8f4 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-03 Alexandra Ellwood <lxs@mit.edu>
+
+    * profile.hin: Remove leading spaces in #define and #include 
+    in public headers to support K&R C compilers
+    
 2003-04-28  Ezra Peisach  <epeisach@bu.edu>
 
        * prof_file.c (r_access): Static function. Only include if
index 156375c81f97efffadb803bf3ca2ac2d0a36e6ec..581ee10bf90abce7c52384a6533f11fc16ee0ef0 100644 (file)
 #endif
 
 #if defined(macintosh) || (defined(__MACH__) && defined(__APPLE__))
-       #include <TargetConditionals.h>
-    #if TARGET_RT_MAC_CFM
-        #error "Use KfM 4.0 SDK headers for CFM compilation."
-    #endif
-#endif
-#if TARGET_OS_MAC
-    #if defined(__MWERKS__)
-        #pragma import on
-        #pragma enumsalwaysint on
-    #endif
-    #pragma options align=mac68k
+#    include <TargetConditionals.h>
+#    if TARGET_RT_MAC_CFM
+#        error "Use KfM 4.0 SDK headers for CFM compilation."
+#    endif
 #endif
 
 #ifndef KRB5_CALLCONV
@@ -41,6 +34,12 @@ typedef struct _profile_t *profile_t;
 extern "C" {
 #endif /* __cplusplus */
 
+#if TARGET_OS_MAC
+#    if defined(__MWERKS__)
+#        pragma import on
+#    endif
+#endif
+
 typedef char* profile_filespec_t;      /* path as C string */
 typedef char* profile_filespec_list_t; /* list of : separated paths, C string */
 typedef const char * const_profile_filespec_t; /* path as C string */
@@ -115,11 +114,9 @@ long KRB5_CALLCONV profile_add_relation
                   const char *new_value);
 
 #if TARGET_OS_MAC
-    #if defined(__MWERKS__)
-        #pragma enumsalwaysint reset
-        #pragma import reset
-    #endif
-    #pragma options align=reset
+#    if defined(__MWERKS__)
+#        pragma import reset
+#    endif
 #endif
 
 #ifdef __cplusplus