From 963e7f8393cba64aac042be5305abdfddbc1ca50 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 5 Nov 2019 01:09:11 +1100 Subject: [PATCH] [porthole] prevent double include of headers --- porthole/include/porthole/client.h | 2 ++ porthole/include/porthole/device.h | 2 ++ porthole/include/porthole/types.h | 2 ++ porthole/include/porthole/util.h | 2 ++ 4 files changed, 8 insertions(+) diff --git a/porthole/include/porthole/client.h b/porthole/include/porthole/client.h index ec88a46c..76de6a94 100644 --- a/porthole/include/porthole/client.h +++ b/porthole/include/porthole/client.h @@ -17,6 +17,8 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #include "types.h" typedef struct PortholeClient *PortholeClient; diff --git a/porthole/include/porthole/device.h b/porthole/include/porthole/device.h index df1af02d..b4979907 100644 --- a/porthole/include/porthole/device.h +++ b/porthole/include/porthole/device.h @@ -17,6 +17,8 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #include #include diff --git a/porthole/include/porthole/types.h b/porthole/include/porthole/types.h index 0abca45a..03d9ad94 100644 --- a/porthole/include/porthole/types.h +++ b/porthole/include/porthole/types.h @@ -17,6 +17,8 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #include #include diff --git a/porthole/include/porthole/util.h b/porthole/include/porthole/util.h index f5816b38..d8b4a4b3 100644 --- a/porthole/include/porthole/util.h +++ b/porthole/include/porthole/util.h @@ -17,6 +17,8 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#pragma once + #include "types.h" #include