diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-06-05 03:34:22 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-06-05 03:34:22 +0200 |
commit | 12e353b21dc2f78fe5dafc848367b189784c7456 (patch) | |
tree | ed4e09c67330c5d5f632d5508a8599f0e5a367e5 | |
parent | a0a4f1c4f7d9d23d733cf3ae9685452364a58a70 (diff) |
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.
-rw-r--r-- | console/priv.h | 4 | ||||
-rw-r--r-- | libnetfs/priv.h | 4 | ||||
-rw-r--r-- | libpager/priv.h | 4 |
3 files changed, 12 insertions, 0 deletions
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 <hurd/hurd_types.h> #include <hurd/netfs.h> @@ -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 <hurd/hurd_types.h> #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 <mach.h> #include <hurd.h> #include <sys/mman.h> @@ -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 |