diff options
Diffstat (limited to 'debian/patches/random-fixes0011-libtrivfs-deprecate-old-api.patch')
-rw-r--r-- | debian/patches/random-fixes0011-libtrivfs-deprecate-old-api.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/debian/patches/random-fixes0011-libtrivfs-deprecate-old-api.patch b/debian/patches/random-fixes0011-libtrivfs-deprecate-old-api.patch deleted file mode 100644 index a1c4eaf2..00000000 --- a/debian/patches/random-fixes0011-libtrivfs-deprecate-old-api.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 379feba88080eb8cd731bbd64b98cc0bbf10931a Mon Sep 17 00:00:00 2001 -From: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Sun, 27 Sep 2015 23:37:44 +0200 -Subject: [PATCH hurd 11/11] 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 --- -2.1.4 - |