summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2003-04-28 16:06:38 +0000
committerEzra Peisach <epeisach@mit.edu>2003-04-28 16:06:38 +0000
commit1b28df6dea339bc50674990677cded1b22f47f1d (patch)
tree15d1a4f6b684cd77ea8bd6c9f32210db739e535b
parent90931d2fd7c21919a3f82a31ac6afd208c74ca30 (diff)
downloadkrb5-1b28df6dea339bc50674990677cded1b22f47f1d.tar.gz
krb5-1b28df6dea339bc50674990677cded1b22f47f1d.tar.xz
krb5-1b28df6dea339bc50674990677cded1b22f47f1d.zip
* prof_file.c (r_access): Static function. Only include if
SHARE_TREE_DATA defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15376 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/util/profile/ChangeLog5
-rw-r--r--src/util/profile/prof_file.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog
index 396058b7b..cbaceb972 100644
--- a/src/util/profile/ChangeLog
+++ b/src/util/profile/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-28 Ezra Peisach <epeisach@bu.edu>
+
+ * prof_file.c (r_access): Static function. Only include if
+ SHARE_TREE_DATA defined.
+
2003-03-06 Alexandra Ellwood <lxs@mit.edu>
* profile.hin, prof_file.c (profile_flush_file_data): Stop copying
the resource fork. We stopped writing resources to the krb5
diff --git a/src/util/profile/prof_file.c b/src/util/profile/prof_file.c
index 8a4d95d71..04c833b45 100644
--- a/src/util/profile/prof_file.c
+++ b/src/util/profile/prof_file.c
@@ -60,6 +60,7 @@ static int rw_access(filespec)
#endif
}
+#ifdef SHARE_TREE_DATA
static int r_access(filespec)
profile_filespec_t filespec;
{
@@ -84,6 +85,7 @@ static int r_access(filespec)
return 0;
#endif
}
+#endif /* SHARE_TREE_DATA */
errcode_t profile_open_file(filespec, ret_prof)
const_profile_filespec_t filespec;