From 7dd0f755f4ac29e6c10085c16e18dd97d92ae5e7 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 1 Nov 2015 12:34:36 +0100 Subject: libtrivfs: remove deprecated static class vectors This API has been deprecated in Hurd 0.7. * doc/hurd.texi (trivfs_protid_portclasses, trivfs_protid_nportclasses, trivfs_cntl_portclasses, trivfs_cntl_nportclasses): Remove. * libtrivfs/trivfs.h: Likewise. * libtrivfs/mig-decls.h: Adapt accordingly. * libtrivfs/cntl-classes.c: Remove unused file. * libtrivfs/protid-classes.c: Likewise. * libtrivfs/Makefile (OTHERSRCS): Drop the two files. --- libtrivfs/trivfs.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libtrivfs/trivfs.h') diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h index d620a7b1..d81c4f93 100644 --- a/libtrivfs/trivfs.h +++ b/libtrivfs/trivfs.h @@ -74,19 +74,6 @@ extern int trivfs_support_exec; operations.) */ extern int trivfs_allow_open; -/* If the user defines these, they should be vectors (and the associated - sizes) of port classes that will be translated into control & protid - pointers for passing to rpcs, in addition to those passed to or created by - trivfs_create_control (or trivfs_startup) will automatically be - recognized. */ -/* Deprecation notice: The use of these vectors is deprecated. Please - use the dynamic class support. These vectors will be removed in - Hurd 0.8. */ -extern struct port_class *trivfs_protid_portclasses[] __attribute__ ((deprecated)); -extern int trivfs_protid_nportclasses __attribute__ ((deprecated)); -extern struct port_class *trivfs_cntl_portclasses[] __attribute__ ((deprecated)); -extern int trivfs_cntl_nportclasses __attribute__ ((deprecated)); - /* The user must define this function. This should modify a struct stat (as returned from the underlying node) for presentation to callers of io_stat. It is permissible for this function to do -- cgit v1.2.3