janitor: add guards to headers

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2012-12-06 12:15:58 +01:00
parent 7edd63f1b1
commit cb9c377f54
50 changed files with 219 additions and 0 deletions

View file

@ -1,3 +1,6 @@
#ifndef CRIS_SYSCALL_H
#define CRIS_SYSCALL_H 1
#define UNAME_MACHINE "cris"
@ -34,3 +37,5 @@ struct target_pt_regs {
unsigned long exs;
unsigned long eda;
};
#endif

View file

@ -1,3 +1,7 @@
#ifndef MICROBLAZE_SYSCALLS_H
#define MICROBLAZE_SYSCALLS_H 1
#define UNAME_MACHINE "microblaze"
/* We use microblaze_reg_t to keep things similar to the kernel sources. */
@ -43,3 +47,5 @@ struct target_pt_regs {
microblaze_reg_t fsr;
uint32_t kernel_mode;
};
#endif

View file

@ -4,6 +4,10 @@
most of them stay the same, so we handle it by putting ifdefs if
necessary */
#ifndef SYSCALL_DEFS_H
#define SYSCALL_DEFS_H 1
#include "syscall_nr.h"
#define SOCKOP_socket 1
@ -2425,3 +2429,5 @@ struct target_ucred {
uint32_t uid;
uint32_t gid;
};
#endif