[PATCH spice-common 2/3] test-marshaller: Make main declaration easier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Declare without argument instead of long declaration.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 tests/test-marshallers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-marshallers.c b/tests/test-marshallers.c
index c4a799e..83c8956 100644
--- a/tests/test-marshallers.c
+++ b/tests/test-marshallers.c
@@ -92,7 +92,7 @@ uint8_t * spice_parse_msg(uint8_t *message_start, uint8_t *message_end,
                           uint32_t channel, uint16_t message_type, int minor,
                           size_t *size_out, message_destructor_t *free_message);
 
-int main(int argc G_GNUC_UNUSED, char **argv G_GNUC_UNUSED)
+int main(void)
 {
     SpiceMarshaller *marshaller;
     SpiceMsgMainShortDataSubMarshall *msg;
-- 
2.17.2

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]