diff options
Diffstat (limited to 'libsoup/xmlrpc/soup-xmlrpc.h')
-rw-r--r-- | libsoup/xmlrpc/soup-xmlrpc.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libsoup/xmlrpc/soup-xmlrpc.h b/libsoup/xmlrpc/soup-xmlrpc.h index 2c76d440..2a32e466 100644 --- a/libsoup/xmlrpc/soup-xmlrpc.h +++ b/libsoup/xmlrpc/soup-xmlrpc.h @@ -3,8 +3,7 @@ * Copyright 2015 - Collabora Ltd. */ -#ifndef __SOUP_XMLRPC_H__ -#define __SOUP_XMLRPC_H__ 1 +#pragma once #include "soup-types.h" @@ -91,6 +90,6 @@ typedef enum { SOUP_XMLRPC_FAULT_TRANSPORT_ERROR = -32300 } SoupXMLRPCFault; -G_END_DECLS +G_DEFINE_AUTOPTR_CLEANUP_FUNC (SoupXMLRPCParams, soup_xmlrpc_params_free) -#endif /* __SOUP_XMLRPC_H__ */ +G_END_DECLS |