[Spice-commits] common/marshaller.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Thu Dec 8 13:49:28 UTC 2016


 common/marshaller.h |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 86dcd22d334a4992718780417bc574623bd61826
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Thu Dec 8 13:36:55 2016 +0000

    marshaller: Remove deprecated replacement functions
    
    spice-common has no stable ABI/API.
    Also these function caused linking problems as these functions
    were defined multiple times.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Pavel Grunt <pgrunt at redhat.com>

diff --git a/common/marshaller.h b/common/marshaller.h
index 9ae1bdf..0c27a48 100644
--- a/common/marshaller.h
+++ b/common/marshaller.h
@@ -42,19 +42,6 @@ uint8_t *spice_marshaller_add_by_ref(SpiceMarshaller *m, const uint8_t *data, si
 uint8_t *spice_marshaller_add_by_ref_full(SpiceMarshaller *m, uint8_t *data, size_t size,
                                           spice_marshaller_item_free_func free_data, void *opaque);
 void spice_marshaller_add_chunks_by_ref(SpiceMarshaller *m, SpiceChunks *chunks);
-SPICE_GNUC_DEPRECATED inline uint8_t *spice_marshaller_add_ref(SpiceMarshaller *m, const uint8_t *data, size_t size)
-{
-    return spice_marshaller_add_by_ref(m, data, size);
-}
-SPICE_GNUC_DEPRECATED inline uint8_t *spice_marshaller_add_ref_full(SpiceMarshaller *m, uint8_t *data, size_t size,
-                                              spice_marshaller_item_free_func free_data, void *opaque)
-{
-    return spice_marshaller_add_by_ref_full(m, data, size, free_data, opaque);
-}
-SPICE_GNUC_DEPRECATED inline void spice_marshaller_add_ref_chunks(SpiceMarshaller *m, SpiceChunks *chunks)
-{
-    spice_marshaller_add_chunks_by_ref(m, chunks);
-}
 void spice_marshaller_flush(SpiceMarshaller *m);
 void spice_marshaller_set_base(SpiceMarshaller *m, size_t base);
 uint8_t *spice_marshaller_linearize(SpiceMarshaller *m, size_t skip,


More information about the Spice-commits mailing list