Remove trailing whitespaces from source files

This commit is contained in:
OpenCode 2026-03-20 16:30:57 +07:00 committed by Benjamin Oldenburg
parent 6c5aac0da6
commit a27bd8a7c3
57 changed files with 450 additions and 450 deletions

18
coff.h
View File

@ -49,7 +49,7 @@ struct filehdr {
#define ISARCHIVE(x) ((((unsigned short)(x))==(unsigned short)ARTYPE)) #define ISARCHIVE(x) ((((unsigned short)(x))==(unsigned short)ARTYPE))
#define BADMAGIC(x) (((unsigned short)(x) & 0x8080) && !ISMAGIC(x)) #define BADMAGIC(x) (((unsigned short)(x) & 0x8080) && !ISMAGIC(x))
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* OPTIONAL FILE HEADER */ /* OPTIONAL FILE HEADER */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
@ -78,7 +78,7 @@ typedef struct aouthdr {
#define AOUT2MAGIC 0407 #define AOUT2MAGIC 0407
#define PAGEMAGIC 0413 #define PAGEMAGIC 0413
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* COMMON ARCHIVE FILE STRUCTURES */ /* COMMON ARCHIVE FILE STRUCTURES */
/* */ /* */
@ -125,7 +125,7 @@ struct ar_hdr /* archive file member header - printable ascii */
char ar_fmag[2]; /* ARFMAG - string to end header */ char ar_fmag[2]; /* ARFMAG - string to end header */
}; };
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* SECTION HEADER */ /* SECTION HEADER */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
@ -176,7 +176,7 @@ struct scnhdr {
#define ALIGN_MASK 0x0F00 /* part of s_flags that is used for align vals */ #define ALIGN_MASK 0x0F00 /* part of s_flags that is used for align vals */
#define ALIGNSIZE(x) (1 << ((x & ALIGN_MASK) >> 8)) #define ALIGNSIZE(x) (1 << ((x & ALIGN_MASK) >> 8))
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* RELOCATION ENTRIES */ /* RELOCATION ENTRIES */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
@ -216,7 +216,7 @@ struct reloc
#define R_PARTMS9 051 /* DSP: 9 bit page of 16 bit address */ #define R_PARTMS9 051 /* DSP: 9 bit page of 16 bit address */
#define R_REL13 052 /* DSP: 13 bits, direct */ #define R_REL13 052 /* DSP: 13 bits, direct */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* LINE NUMBER ENTRIES */ /* LINE NUMBER ENTRIES */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
@ -234,7 +234,7 @@ struct lineno
#define LINENO struct lineno #define LINENO struct lineno
#define LINESZ 6 /* sizeof(LINENO) */ #define LINESZ 6 /* sizeof(LINENO) */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* STORAGE CLASSES */ /* STORAGE CLASSES */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
@ -267,7 +267,7 @@ struct lineno
#define C_ALIAS 105 /* duplicate tag */ #define C_ALIAS 105 /* duplicate tag */
#define C_HIDDEN 106 /* special storage class for external */ #define C_HIDDEN 106 /* special storage class for external */
/* symbols in dmert public libraries */ /* symbols in dmert public libraries */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* SYMBOL TABLE ENTRIES */ /* SYMBOL TABLE ENTRIES */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
@ -312,7 +312,7 @@ struct syment
#define N_TV (unsigned short)-3 /* needs transfer vector (preload) */ #define N_TV (unsigned short)-3 /* needs transfer vector (preload) */
#define P_TV (unsigned short)-4 /* needs transfer vector (postload) */ #define P_TV (unsigned short)-4 /* needs transfer vector (postload) */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* The fundamental type of a symbol packed into the low */ /* The fundamental type of a symbol packed into the low */
/* 4 bits of the word. */ /* 4 bits of the word. */
@ -370,7 +370,7 @@ struct syment
#define INCREF_COFF(x) ((((x)&~N_BTMASK_COFF)<<N_TSHIFT_COFF)|(DT_PTR<<N_BTSHFT_COFF)|(x&N_BTMASK_COFF)) #define INCREF_COFF(x) ((((x)&~N_BTMASK_COFF)<<N_TSHIFT_COFF)|(DT_PTR<<N_BTSHFT_COFF)|(x&N_BTMASK_COFF))
#define DECREF_COFF(x) ((((x)>>N_TSHIFT_COFF)&~N_BTMASK_COFF)|((x)&N_BTMASK_COFF)) #define DECREF_COFF(x) ((((x)>>N_TSHIFT_COFF)&~N_BTMASK_COFF)|((x)&N_BTMASK_COFF))
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
/* AUXILIARY SYMBOL ENTRY */ /* AUXILIARY SYMBOL ENTRY */
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/

View File

@ -4394,7 +4394,7 @@ void whitespace_test(void)
#if 1 #if 1
pri\ pri\
ntf("whitspace:\n"); ntf("whitspace:\n");
#endif #endif
pf("N=%d\n", 2); pf("N=%d\n", 2);

View File

@ -309,7 +309,7 @@ void test_init_ranges(void) {
printf ("%d\n", c); printf ("%d\n", c);
} }
/* Following is from GCC gcc.c-torture/execute/20050613-1.c. */ /* Following is from GCC gcc.c-torture/execute/20050613-1.c. */
struct SEA { int i; int j; int k; int l; }; struct SEA { int i; int j; int k; int l; };
@ -387,7 +387,7 @@ test_init_bf(void)
printf ("%s: %d %d %d\n", __FUNCTION__, arr[0].a, arr[0].b, arr[0].c); printf ("%s: %d %d %d\n", __FUNCTION__, arr[0].a, arr[0].b, arr[0].c);
} }
int main() int main()
{ {
print(ce); print(ce);