[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 15/23: libtrivfs: deprecate old api
From: |
Samuel Thibault |
Subject: |
[hurd] 15/23: libtrivfs: deprecate old api |
Date: |
Tue, 13 Oct 2015 00:09:56 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 379feba88080eb8cd731bbd64b98cc0bbf10931a
Author: Justus Winter <address@hidden>
Date: Sun Sep 27 23:37:44 2015 +0200
libtrivfs: deprecate old api
* libtrivfs/trivfs.h (trivfs_protid_portclasses): Deprecate, and
schedule for removal in Hurd 0.8.
(trivfs_protid_nportclasses): Likewise.
(trivfs_cntl_portclasses): Likewise.
(trivfs_cntl_nportclasses): Likewise.
---
libtrivfs/trivfs.h | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h
index 8902338..d620a7b 100644
--- a/libtrivfs/trivfs.h
+++ b/libtrivfs/trivfs.h
@@ -79,10 +79,13 @@ extern int trivfs_allow_open;
pointers for passing to rpcs, in addition to those passed to or created by
trivfs_create_control (or trivfs_startup) will automatically be
recognized. */
-extern struct port_class *trivfs_protid_portclasses[];
-extern int trivfs_protid_nportclasses;
-extern struct port_class *trivfs_cntl_portclasses[];
-extern int trivfs_cntl_nportclasses;
+/* 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
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (3f883d3 -> b989189), Samuel Thibault, 2015/10/12
- [hurd] 18/23: Update NEWS file, Samuel Thibault, 2015/10/12
- [hurd] 15/23: libtrivfs: deprecate old api,
Samuel Thibault <=
- [hurd] 19/23: Add missing null checks in libshouldbeinlibc, Samuel Thibault, 2015/10/12
- [hurd] 21/23: Make netfs_S_io_reauthenticate handle allocation errors, Samuel Thibault, 2015/10/12
- [hurd] 20/23: Drop duplicate port deallocation, Samuel Thibault, 2015/10/12
- [hurd] 14/23: libtrivfs: optimize the object lookup code, Samuel Thibault, 2015/10/12
- [hurd] 23/23: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2015/10/12
- [hurd] 10/23: trans/magic: convert to trivfs dynamic classes and buckets, Samuel Thibault, 2015/10/12
- [hurd] 04/23: libdiskfs: fflush stdout when pausing, Samuel Thibault, 2015/10/12
- [hurd] 11/23: trans/new-fifo: convert to trivfs dynamic classes and buckets, Samuel Thibault, 2015/10/12
- [hurd] 07/23: pflocal: convert to trivfs dynamic classes and buckets, Samuel Thibault, 2015/10/12
- [hurd] 09/23: trans/ifsock: convert to trivfs dynamic classes and buckets, Samuel Thibault, 2015/10/12