summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-05-05 13:14:49 +0000
committerRoland McGrath <roland@gnu.org>1994-05-05 13:14:49 +0000
commit2402eee6ef410c9c327abf45f94c05bb770ba5ff (patch)
treeea29c115ea3d596e7208c4d50b401c2a157e615a /libdiskfs
parent5b0e91e7b2ef85aaeecef12ea860af383a7cce6d (diff)
entered into RCS
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-mkdir.c2
-rw-r--r--libdiskfs/dir-rmdir.c2
-rw-r--r--libdiskfs/dir-unlink.c2
-rw-r--r--libdiskfs/file-chauthor.c2
-rw-r--r--libdiskfs/file-chflags.c2
-rw-r--r--libdiskfs/file-chown.c2
-rw-r--r--libdiskfs/file-getfh.c2
-rw-r--r--libdiskfs/file-getlinknode.c2
-rw-r--r--libdiskfs/file-lock-stat.c2
-rw-r--r--libdiskfs/file-lock.c2
-rw-r--r--libdiskfs/file-set-size.c2
-rw-r--r--libdiskfs/file-statfs.c2
-rw-r--r--libdiskfs/file-sync.c2
-rw-r--r--libdiskfs/file-syncfs.c2
-rw-r--r--libdiskfs/file-utimes.c2
-rw-r--r--libdiskfs/interrupt.c2
-rw-r--r--libdiskfs/io-duplicate.c2
-rw-r--r--libdiskfs/io-get-conch.c2
-rw-r--r--libdiskfs/io-map.c2
-rw-r--r--libdiskfs/io-modes-get.c2
-rw-r--r--libdiskfs/io-modes-off.c2
-rw-r--r--libdiskfs/io-modes-on.c2
-rw-r--r--libdiskfs/io-owner-get.c2
-rw-r--r--libdiskfs/io-owner-mod.c2
-rw-r--r--libdiskfs/io-pathconf.c2
-rw-r--r--libdiskfs/io-readable.c2
-rw-r--r--libdiskfs/io-rel-conch.c2
-rw-r--r--libdiskfs/io-restrict-auth.c2
-rw-r--r--libdiskfs/io-seek.c2
-rw-r--r--libdiskfs/io-stat.c2
-rw-r--r--libdiskfs/io-version.c2
31 files changed, 31 insertions, 31 deletions
diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c
index 7de5d1b7..eee04b62 100644
--- a/libdiskfs/dir-mkdir.c
+++ b/libdiskfs/dir-mkdir.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement dir_mkdir as found in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_dir_mkdir (struct protid *dircred,
char *name,
mode_t mode)
diff --git a/libdiskfs/dir-rmdir.c b/libdiskfs/dir-rmdir.c
index 124ed21b..ebfdbb38 100644
--- a/libdiskfs/dir-rmdir.c
+++ b/libdiskfs/dir-rmdir.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement dir_rmdir as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_dir_rmdir (struct protid *dircred,
char *name)
{
diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c
index 3f2fa12b..05db77a9 100644
--- a/libdiskfs/dir-unlink.c
+++ b/libdiskfs/dir-unlink.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement dir_unlink as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_dir_unlink (struct protid *dircred,
char *name)
{
diff --git a/libdiskfs/file-chauthor.c b/libdiskfs/file-chauthor.c
index c0997424..1056e9fa 100644
--- a/libdiskfs/file-chauthor.c
+++ b/libdiskfs/file-chauthor.c
@@ -21,7 +21,7 @@
#include fth_TH_dot_h
/* Implement file_chauthor as dethcribed in <hurd/fth.defth>. */
-error_t
+kern_return_t
dithkfth_TH_file_chauthor (struct protid *cred,
uid_t author)
{
diff --git a/libdiskfs/file-chflags.c b/libdiskfs/file-chflags.c
index ffec6a47..8dee0a8b 100644
--- a/libdiskfs/file-chflags.c
+++ b/libdiskfs/file-chflags.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_chflags as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_chflags (struct protid *cred,
int flags)
{
diff --git a/libdiskfs/file-chown.c b/libdiskfs/file-chown.c
index f71d2496..c0f685c7 100644
--- a/libdiskfs/file-chown.c
+++ b/libdiskfs/file-chown.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_chown as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_chown (struct protid *cred,
uid_t uid,
gid_t gid)
diff --git a/libdiskfs/file-getfh.c b/libdiskfs/file-getfh.c
index d2387bbf..3e455143 100644
--- a/libdiskfs/file-getfh.c
+++ b/libdiskfs/file-getfh.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_getfh as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_getfh (struct protid *cred,
char **data,
u_int *datalen)
diff --git a/libdiskfs/file-getlinknode.c b/libdiskfs/file-getlinknode.c
index 2b968b72..4b346c96 100644
--- a/libdiskfs/file-getlinknode.c
+++ b/libdiskfs/file-getlinknode.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_getlinknode as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_getlinknode (struct protid *cred,
file_t *port,
mach_msg_type_name_t *portpoly)
diff --git a/libdiskfs/file-lock-stat.c b/libdiskfs/file-lock-stat.c
index 258bb367..ce291b76 100644
--- a/libdiskfs/file-lock-stat.c
+++ b/libdiskfs/file-lock-stat.c
@@ -22,7 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
#include "fs_S.h"
-error_t
+kern_return_t
diskfs_S_file_lock_stat (struct protid *cred,
int *mystatus,
int *otherstatus)
diff --git a/libdiskfs/file-lock.c b/libdiskfs/file-lock.c
index 9e5d7ebc..4a348546 100644
--- a/libdiskfs/file-lock.c
+++ b/libdiskfs/file-lock.c
@@ -22,7 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
#include "fs_S.h"
-error_t
+kern_return_t
diskfs_S_file_lock (struct protid *cred, int flags)
{
error_t err;
diff --git a/libdiskfs/file-set-size.c b/libdiskfs/file-set-size.c
index 29e1d49e..96c83b79 100644
--- a/libdiskfs/file-set-size.c
+++ b/libdiskfs/file-set-size.c
@@ -20,7 +20,7 @@
#include <fcntl.h>
/* Implement file_truncate as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_truncate (struct protid *cred,
off_t size)
{
diff --git a/libdiskfs/file-statfs.c b/libdiskfs/file-statfs.c
index 0efbeafa..f90b74ef 100644
--- a/libdiskfs/file-statfs.c
+++ b/libdiskfs/file-statfs.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_getcontrol as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_statfs (struct protid *file,
fsys_statfsbuf_t *statbuf)
{
diff --git a/libdiskfs/file-sync.c b/libdiskfs/file-sync.c
index 298a11cc..ccd9c881 100644
--- a/libdiskfs/file-sync.c
+++ b/libdiskfs/file-sync.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_sync as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_sync (struct protid *cred,
int wait)
{
diff --git a/libdiskfs/file-syncfs.c b/libdiskfs/file-syncfs.c
index 63fdaecf..8c43e0da 100644
--- a/libdiskfs/file-syncfs.c
+++ b/libdiskfs/file-syncfs.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_syncfs as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_syncfs (struct protid *cred,
int wait,
int dochildren)
diff --git a/libdiskfs/file-utimes.c b/libdiskfs/file-utimes.c
index 80a56a44..a79d91bd 100644
--- a/libdiskfs/file-utimes.c
+++ b/libdiskfs/file-utimes.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_utimes as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_utimes (struct protid *cred,
time_value_t atime,
time_value_t mtime)
diff --git a/libdiskfs/interrupt.c b/libdiskfs/interrupt.c
index bc377e70..f7441934 100644
--- a/libdiskfs/interrupt.c
+++ b/libdiskfs/interrupt.c
@@ -22,7 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
#include "interrupt_S.h"
-error_t
+kern_return_t
diskfs_S_interrupt_operation (mach_port_t handle)
{
return 0;
diff --git a/libdiskfs/io-duplicate.c b/libdiskfs/io-duplicate.c
index e0beded6..38eb8087 100644
--- a/libdiskfs/io-duplicate.c
+++ b/libdiskfs/io-duplicate.c
@@ -19,7 +19,7 @@
#include "io_S.h"
/* Implement io_duplicate as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_duplicate (struct protid *cred,
mach_port_t *port,
mach_msg_type_name_t *portpoly)
diff --git a/libdiskfs/io-get-conch.c b/libdiskfs/io-get-conch.c
index ffd19ab8..b210405e 100644
--- a/libdiskfs/io-get-conch.c
+++ b/libdiskfs/io-get-conch.c
@@ -19,7 +19,7 @@
#include "io_S.h"
/* Implement io_get_conch as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_get_conch (struct protid *cred)
{
struct node *np;
diff --git a/libdiskfs/io-map.c b/libdiskfs/io-map.c
index c7b00764..d1c7f3b2 100644
--- a/libdiskfs/io-map.c
+++ b/libdiskfs/io-map.c
@@ -19,7 +19,7 @@
#include "io_S.h"
/* Implement io_map as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_map (struct protid *cred,
memory_object_t *rdobj,
mach_msg_type_name_t *rdtype,
diff --git a/libdiskfs/io-modes-get.c b/libdiskfs/io-modes-get.c
index dac4104f..a959881b 100644
--- a/libdiskfs/io-modes-get.c
+++ b/libdiskfs/io-modes-get.c
@@ -19,7 +19,7 @@
#include "io_S.h"
/* Implement io_get_openmodes as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_get_openmodes (struct protid *cred,
int *bits)
{
diff --git a/libdiskfs/io-modes-off.c b/libdiskfs/io-modes-off.c
index 759661da..30338109 100644
--- a/libdiskfs/io-modes-off.c
+++ b/libdiskfs/io-modes-off.c
@@ -20,7 +20,7 @@
#include <fcntl.h>
/* Implement io_clear_some_openmodes as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_clear_some_openmodes (struct protid *cred,
int offbits)
{
diff --git a/libdiskfs/io-modes-on.c b/libdiskfs/io-modes-on.c
index 67f76aef..d231c347 100644
--- a/libdiskfs/io-modes-on.c
+++ b/libdiskfs/io-modes-on.c
@@ -20,7 +20,7 @@
#include <fcntl.h>
/* Implement io_set_some_openmodes as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_set_some_openmodes (struct protid *cred,
int newbits)
{
diff --git a/libdiskfs/io-owner-get.c b/libdiskfs/io-owner-get.c
index 6d2bd0fa..057aa6e2 100644
--- a/libdiskfs/io-owner-get.c
+++ b/libdiskfs/io-owner-get.c
@@ -19,7 +19,7 @@
#include "io_S.h"
/* Implement io_get_owner as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_get_owner (struct protid *cred,
pid_t *owner)
{
diff --git a/libdiskfs/io-owner-mod.c b/libdiskfs/io-owner-mod.c
index cfc84fd5..c0977785 100644
--- a/libdiskfs/io-owner-mod.c
+++ b/libdiskfs/io-owner-mod.c
@@ -19,7 +19,7 @@
#include "io_S.h"
/* Implement io_mod_owner as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_mod_owner (struct protid *cred,
pid_t owner)
{
diff --git a/libdiskfs/io-pathconf.c b/libdiskfs/io-pathconf.c
index 9a5c9565..d26d92b7 100644
--- a/libdiskfs/io-pathconf.c
+++ b/libdiskfs/io-pathconf.c
@@ -19,7 +19,7 @@
#include "fs_S.h"
/* Implement file_pathconf as described in <hurd/fs.defs>. */
-error_t
+kern_return_t
diskfs_S_file_pathconf (struct protid *cred,
int name,
int *value)
diff --git a/libdiskfs/io-readable.c b/libdiskfs/io-readable.c
index 7a82696c..4ce5e2b3 100644
--- a/libdiskfs/io-readable.c
+++ b/libdiskfs/io-readable.c
@@ -20,7 +20,7 @@
#include <fcntl.h>
/* Implement io_readable as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_readable (struct protid *cred,
int *amount)
{
diff --git a/libdiskfs/io-rel-conch.c b/libdiskfs/io-rel-conch.c
index ac954782..5aa57920 100644
--- a/libdiskfs/io-rel-conch.c
+++ b/libdiskfs/io-rel-conch.c
@@ -19,7 +19,7 @@
#include "io_S.h"
/* Implement io_release_conch as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_release_conch (struct protid *cred)
{
struct node *np;
diff --git a/libdiskfs/io-restrict-auth.c b/libdiskfs/io-restrict-auth.c
index e1cc01da..0cd15792 100644
--- a/libdiskfs/io-restrict-auth.c
+++ b/libdiskfs/io-restrict-auth.c
@@ -30,7 +30,7 @@ listmember (int *list, int query, int n)
}
/* Implement io_restrict_auth as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_restrict_auth (struct protid *cred,
mach_port_t *newport,
mach_msg_type_name_t *newportpoly,
diff --git a/libdiskfs/io-seek.c b/libdiskfs/io-seek.c
index 7a27da1d..f76f00b3 100644
--- a/libdiskfs/io-seek.c
+++ b/libdiskfs/io-seek.c
@@ -22,7 +22,7 @@
#define diskfs_readonly 0
/* Implement io_seek as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_seek (struct protid *cred,
off_t offset,
int whence,
diff --git a/libdiskfs/io-stat.c b/libdiskfs/io-stat.c
index 6b139b6a..ac076b2c 100644
--- a/libdiskfs/io-stat.c
+++ b/libdiskfs/io-stat.c
@@ -20,7 +20,7 @@
#include <string.h>
/* Implement io_stat as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_stat (struct protid *cred,
io_statbuf_t *statbuf)
{
diff --git a/libdiskfs/io-version.c b/libdiskfs/io-version.c
index 609b74a9..a1f12d79 100644
--- a/libdiskfs/io-version.c
+++ b/libdiskfs/io-version.c
@@ -22,7 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
#include "io_S.h"
-error_t
+kern_return_t
diskfs_S_io_server_version (struct protid *cred,
char *server_name,
int *major,