diff options
author | obrien <obrien@FreeBSD.org> | 2001-09-05 05:18:35 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-09-05 05:18:35 +0000 |
commit | 0e8186d4dc6ef54b4f3afecfa66902f98286bc1b (patch) | |
tree | 717f17ced3407005a03300c6cd21757613273ed0 /sys/sparc64 | |
parent | 05e12989aeefdd5855e6b054a2438e3edd097146 (diff) | |
download | FreeBSD-src-0e8186d4dc6ef54b4f3afecfa66902f98286bc1b.zip FreeBSD-src-0e8186d4dc6ef54b4f3afecfa66902f98286bc1b.tar.gz |
style(9) the structure definitions.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/fp.h | 4 | ||||
-rw-r--r-- | sys/sparc64/include/intr_machdep.h | 8 | ||||
-rw-r--r-- | sys/sparc64/include/pcb.h | 4 | ||||
-rw-r--r-- | sys/sparc64/include/pmap.h | 4 | ||||
-rw-r--r-- | sys/sparc64/include/proc.h | 2 | ||||
-rw-r--r-- | sys/sparc64/include/reg.h | 6 | ||||
-rw-r--r-- | sys/sparc64/include/setjmp.h | 4 | ||||
-rw-r--r-- | sys/sparc64/include/signal.h | 4 | ||||
-rw-r--r-- | sys/sparc64/include/tte.h | 4 |
9 files changed, 20 insertions, 20 deletions
diff --git a/sys/sparc64/include/fp.h b/sys/sparc64/include/fp.h index 40400d0..6305c2b 100644 --- a/sys/sparc64/include/fp.h +++ b/sys/sparc64/include/fp.h @@ -65,11 +65,11 @@ #define FSR_FCC3(x) (((x) >> FSR_FCC3_SHIFT) & 3) /* A block of 8 double-precision (16 single-precision) FP registers. */ -struct fpblock { +struct fpblock { u_long fpq_l[8]; }; -struct fpstate { +struct fpstate { struct fpblock fp_fb[4]; u_long fp_fsr; u_long fp_fprs; diff --git a/sys/sparc64/include/intr_machdep.h b/sys/sparc64/include/intr_machdep.h index e55a5cc..89e1743 100644 --- a/sys/sparc64/include/intr_machdep.h +++ b/sys/sparc64/include/intr_machdep.h @@ -43,11 +43,11 @@ typedef void ih_func_t(struct trapframe *); typedef void iv_func_t(void *); -struct intr_handler { +struct intr_handler { ih_func_t *ih_func; }; -struct iqe { +struct iqe { u_int iqe_tag; u_int iqe_pri; u_long iqe_vec; @@ -55,13 +55,13 @@ struct iqe { void *iqe_arg; }; -struct intr_queue { +struct intr_queue { struct iqe iq_queue[IQ_SIZE]; /* must be first */ u_long iq_head; u_long iq_tail; }; -struct intr_vector { +struct intr_vector { iv_func_t *iv_func; /* must be first */ void *iv_arg; u_int iv_pri; diff --git a/sys/sparc64/include/pcb.h b/sys/sparc64/include/pcb.h index 6ef98c9..7db380a 100644 --- a/sys/sparc64/include/pcb.h +++ b/sys/sparc64/include/pcb.h @@ -42,7 +42,7 @@ #define PCB_CWP_EMPTY 0xff /* NOTE: pcb_fpstate must be aligned on a 64 byte boundary. */ -struct pcb { +struct pcb { struct fpstate pcb_fpstate; u_long pcb_cwp; u_long pcb_fp; @@ -54,7 +54,7 @@ struct pcb { struct rwindow pcb_rw[MAXWIN]; }; -struct md_coredump { +struct md_coredump { }; #ifdef _KERNEL diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h index 246f4f6..6f12ab5 100644 --- a/sys/sparc64/include/pmap.h +++ b/sys/sparc64/include/pmap.h @@ -51,10 +51,10 @@ typedef struct pmap *pmap_t; -struct md_page { +struct md_page { }; -struct pmap { +struct pmap { struct stte pm_stte; vm_object_t pm_object; u_int pm_active; diff --git a/sys/sparc64/include/proc.h b/sys/sparc64/include/proc.h index 914129d..c6df75d 100644 --- a/sys/sparc64/include/proc.h +++ b/sys/sparc64/include/proc.h @@ -41,7 +41,7 @@ #include <machine/globals.h> #include <machine/tte.h> -struct mdproc { +struct mdproc { }; #endif /* !_MACHINE_PROC_H_ */ diff --git a/sys/sparc64/include/reg.h b/sys/sparc64/include/reg.h index 891a6d6..b0b7a61 100644 --- a/sys/sparc64/include/reg.h +++ b/sys/sparc64/include/reg.h @@ -29,13 +29,13 @@ #ifndef _MACHINE_REG_H_ #define _MACHINE_REG_H_ -struct reg { +struct reg { }; -struct fpreg { +struct fpreg { }; -struct dbreg { +struct dbreg { }; #ifdef _KERNEL diff --git a/sys/sparc64/include/setjmp.h b/sys/sparc64/include/setjmp.h index eab2069..16be244 100644 --- a/sys/sparc64/include/setjmp.h +++ b/sys/sparc64/include/setjmp.h @@ -48,13 +48,13 @@ * internally to avoid some run-time errors for mismatches. */ #ifndef _ANSI_SOURCE -struct _sigjmp_buf { +struct _sigjmp_buf { long _sjb[_JBLEN + 1]; }; typedef struct _sigjmp_buf sigjmp_buf[1]; #endif -struct _jmp_buf { +struct _jmp_buf { long _jb[_JBLEN + 1]; }; typedef struct _jmp_buf jmp_buf[1]; diff --git a/sys/sparc64/include/signal.h b/sys/sparc64/include/signal.h index d977842..63d7d75 100644 --- a/sys/sparc64/include/signal.h +++ b/sys/sparc64/include/signal.h @@ -46,10 +46,10 @@ typedef long sig_atomic_t; typedef u_int osigset_t; -struct osigcontext { +struct osigcontext { }; -struct sigcontext { +struct sigcontext { }; #endif /* !_ANSI_SOURCE */ diff --git a/sys/sparc64/include/tte.h b/sys/sparc64/include/tte.h index 9354d74..d2bfec7 100644 --- a/sys/sparc64/include/tte.h +++ b/sys/sparc64/include/tte.h @@ -101,12 +101,12 @@ #define TD_W (1L << 1) #define TD_G (1L << 0) -struct tte { +struct tte { u_long tte_tag; u_long tte_data; }; -struct stte { +struct stte { struct tte st_tte; vm_offset_t st_next; vm_offset_t st_prev; |