mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2026-08-07 19:11:00 +00:00
Clean up and standardize header guards
This commit is contained in:
parent
430b3b036d
commit
49fccfefc8
@ -43,4 +43,4 @@
|
||||
#define spice_mb() __asm {lock add [esp], 0}
|
||||
#endif
|
||||
|
||||
#endif _H_SPICE_BARRIER
|
||||
#endif /* _H_SPICE_BARRIER */
|
||||
|
||||
@ -28,8 +28,8 @@
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _H_DRAW
|
||||
#define _H_DRAW
|
||||
#ifndef _H_SPICE_DRAW
|
||||
#define _H_SPICE_DRAW
|
||||
|
||||
#include <spice/types.h>
|
||||
|
||||
@ -370,4 +370,4 @@ typedef struct SPICE_ATTR_PACKED SpiceCursorHeader {
|
||||
|
||||
#include <spice/end-packed.h>
|
||||
|
||||
#endif
|
||||
#endif /* _H_SPICE_DRAW */
|
||||
|
||||
@ -28,8 +28,8 @@
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef RED_ERROR_CODES_H
|
||||
#define RED_ERROR_CODES_H
|
||||
#ifndef _H_SPICE_ERROR_CODES
|
||||
#define _H_SPICE_ERROR_CODES
|
||||
|
||||
#define SPICEC_ERROR_CODE_SUCCESS 0
|
||||
#define SPICEC_ERROR_CODE_ERROR 1
|
||||
@ -47,5 +47,5 @@
|
||||
#define SPICEC_ERROR_CODE_INVALID_ARG 13
|
||||
#define SPICEC_ERROR_CODE_CMD_LINE_ERROR 14
|
||||
|
||||
#endif
|
||||
#endif /* _H_SPICE_ERROR_CODES */
|
||||
|
||||
|
||||
@ -29,8 +29,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _H_RING_
|
||||
#define _H_RING_
|
||||
#ifndef _H_SPICE_RING
|
||||
#define _H_SPICE_RING
|
||||
|
||||
#include <spice/types.h>
|
||||
|
||||
@ -133,4 +133,4 @@ typedef struct SPICE_ATTR_PACKED name { \
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif /* _H_SPICE_RING */
|
||||
|
||||
@ -28,8 +28,8 @@
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _H_RED
|
||||
#define _H_RED
|
||||
#ifndef _H_SPICE_PROTOCOL
|
||||
#define _H_SPICE_PROTOCOL
|
||||
|
||||
#include <spice/types.h>
|
||||
|
||||
@ -825,5 +825,4 @@ typedef struct SPICE_ATTR_PACKED SpiceMsgcTunnelSocketTokens {
|
||||
|
||||
#include <spice/end-packed.h>
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _H_SPICE_PROTOCOL */
|
||||
|
||||
@ -355,4 +355,4 @@ typedef struct SPICE_ATTR_PACKED QXLImage {
|
||||
|
||||
#include <spice/end-packed.h>
|
||||
|
||||
#endif
|
||||
#endif /* _H_QXL_DEV */
|
||||
|
||||
@ -28,8 +28,8 @@
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _H_REDS_STAT
|
||||
#define _H_REDS_STAT
|
||||
#ifndef _H_SPICE_STATS
|
||||
#define _H_SPICE_STATS
|
||||
|
||||
#include <spice/types.h>
|
||||
|
||||
@ -64,5 +64,4 @@ typedef struct SpiceStat {
|
||||
SpiceStatNode nodes[];
|
||||
} SpiceStat;
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _H_SPICE_STATS */
|
||||
|
||||
@ -37,4 +37,4 @@
|
||||
* include the right one here. */
|
||||
#include <stdint.h>
|
||||
|
||||
#endif _H_SPICE_TYPES
|
||||
#endif /* _H_SPICE_TYPES */
|
||||
|
||||
@ -94,6 +94,4 @@ enum {
|
||||
|
||||
#include <spice/end-packed.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _H_VD_AGENT */
|
||||
|
||||
@ -80,4 +80,4 @@ typedef struct SPICE_ATTR_PACKED VDIPortRam {
|
||||
|
||||
#include <spice/end-packed.h>
|
||||
|
||||
#endif
|
||||
#endif /* _H_VDI_DEV */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user