From 12e353b21dc2f78fe5dafc848367b189784c7456 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 5 Jun 2012 03:34:22 +0200 Subject: Add header inclusion guards * console/priv.h [!_CONSOLE_PRIV_H]: Define _CONSOLE_PRIV_H. * libnetfs/priv.h [!_LIBNETFS_PRIV_H]: Define _LIBNETFS_PRIV_H. * libpager/priv.h [!_LIBPAGER_PRIV_H]: Define _LIBPAGER_PRIV_H. --- console/priv.h | 4 ++++ libnetfs/priv.h | 4 ++++ libpager/priv.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/console/priv.h b/console/priv.h index c03bbc46..fdb96e7f 100644 --- a/console/priv.h +++ b/console/priv.h @@ -19,6 +19,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#ifndef _CONSOLE_PRIV_H +#define _CONSOLE_PRIV_H + #include #include @@ -35,3 +38,4 @@ end_using_protid_port (struct protid *cred) if (cred) ports_port_deref (cred); } +#endif diff --git a/libnetfs/priv.h b/libnetfs/priv.h index b0f9f4a0..00db9faa 100644 --- a/libnetfs/priv.h +++ b/libnetfs/priv.h @@ -18,6 +18,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#ifndef _LIBNETFS_PRIV_H +#define _LIBNETFS_PRIV_H + #include #include "netfs.h" @@ -34,3 +37,4 @@ end_using_protid_port (struct protid *cred) if (cred) ports_port_deref (cred); } +#endif diff --git a/libpager/priv.h b/libpager/priv.h index 586bccbf..f68c6092 100644 --- a/libpager/priv.h +++ b/libpager/priv.h @@ -15,6 +15,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef _LIBPAGER_PRIV_H +#define _LIBPAGER_PRIV_H + #include #include #include @@ -146,3 +149,4 @@ void _pager_lock_object (struct pager *, vm_offset_t, vm_size_t, int, int, void _pager_free_structure (struct pager *); void _pager_clean (void *arg); void _pager_real_dropweak (void *arg); +#endif -- cgit v1.2.3