From d638b01e054dabce587a5ff9a846341b201458b8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 10 Jun 2008 21:49:07 +0000 Subject: [doc/ChangeLog] 2008-06-10 Samuel Thibault * hurd.texi (Diskfs Callbacks): Add const qualifier to parameter `name' of function diskfs_lookup. [libdiskfs/ChangeLog] 2008-06-10 Samuel Thibault * dir-lookup.c (diskfs_lookup): Add const qualifier to parameter `name'. * dir-lookup.h (diskfs_lookup): Likewise. --- doc/ChangeLog | 5 +++++ doc/hurd.texi | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/ChangeLog b/doc/ChangeLog index 02167af6..3746d021 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2008-06-10 Samuel Thibault + + * hurd.texi (Diskfs Callbacks): Add const qualifier to parameter + `name' of function diskfs_lookup. + 2007-11-08 Thomas Schwinge * hurd.texi: Do some copyright, licensing and menu things as suggested diff --git a/doc/hurd.texi b/doc/hurd.texi index d0256ed7..a12b65b1 100644 --- a/doc/hurd.texi +++ b/doc/hurd.texi @@ -4018,8 +4018,8 @@ Set @code{*@var{statfsbuf}} with appropriate values to reflect the current state of the filesystem. @end deftypefun -@deftypefun error_t diskfs_lookup (@w{struct node *@var{dp}}, @w{char *@var{name}}, @w{enum lookup_type @var{type}}, @w{struct node **@var{np}}, @w{struct dirstat *@var{ds}}, @w{struct protid *@var{cred}}) -@deftypefunx error_t diskfs_lookup_hard (@w{struct node *@var{dp}}, @w{char *@var{name}}, @w{enum lookup_type @var{type}}, @w{struct node **@var{np}}, @w{struct dirstat *@var{ds}}, @w{struct protid *@var{cred}}) +@deftypefun error_t diskfs_lookup (@w{struct node *@var{dp}}, @w{const char *@var{name}}, @w{enum lookup_type @var{type}}, @w{struct node **@var{np}}, @w{struct dirstat *@var{ds}}, @w{struct protid *@var{cred}}) +@deftypefunx error_t diskfs_lookup_hard (@w{struct node *@var{dp}}, @w{const char *@var{name}}, @w{enum lookup_type @var{type}}, @w{struct node **@var{np}}, @w{struct dirstat *@var{ds}}, @w{struct protid *@var{cred}}) You should not define @code{diskfs_lookup}, because it is simply a wrapper for @code{diskfs_lookup_hard}, and is already defined in @code{libdiskfs}. -- cgit v1.2.3