From 866d067bba325877f6b5ea1c8196cf993f811421 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 6 Sep 2012 10:22:17 -0700 Subject: [PATCH] Add forward declaration for guac_resource --- libguac/include/resource.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libguac/include/resource.h b/libguac/include/resource.h index 0260542c..3663f29b 100644 --- a/libguac/include/resource.h +++ b/libguac/include/resource.h @@ -56,6 +56,8 @@ * @file resource.h */ +typedef struct guac_resource guac_resource; + /** * Handler which begins resource transfer when the client accepts an exposed resource. */ @@ -70,7 +72,7 @@ typedef int guac_resource_reject_handler(guac_resource* resource); * Represents a single resource which can be requested or exposed via * the Guacamole protocol. */ -typedef struct guac_resource { +struct guac_resource { /** * The index of this resource. @@ -92,6 +94,6 @@ typedef struct guac_resource { */ void* data; -} guac_resource; +}; #endif