summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 396058b7b5..cbaceb9729 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 8a4d95d71c..04c833b455 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;