gallium: Fix p_refcnt.h for C++ compilers.
authorMichel Dänzer <daenzer@vmware.com>
Mon, 9 Mar 2009 11:58:16 +0000 (12:58 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Mon, 9 Mar 2009 11:58:16 +0000 (12:58 +0100)
src/gallium/include/pipe/p_refcnt.h

index 50b7aa90ef898af3d5f77f556a7d30d28b326e8b..27b4e8fbfedfc164a75b3fba65a23a20532a0c07 100644 (file)
@@ -80,5 +80,8 @@ pipe_reference(struct pipe_reference **ptr, struct pipe_reference *reference)
    return destroy;
 }
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* P_REFCNT_H */