diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-12-29 15:06:30 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-12-29 15:06:30 +0000 |
commit | 3f59c71ed8ef6c66f3e3c31162f536861a190a1c (patch) | |
tree | bfbe78c694bab9b048ca6b9e99425284ad8188e6 /include/sys | |
parent | 90ca90c53d4364ebefeb54a99deb4c7890d84488 (diff) |
- whitespace cleanup; no obj-code changes
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/file.h | 2 | ||||
-rw-r--r-- | include/sys/queue.h | 10 | ||||
-rw-r--r-- | include/sys/time.h | 6 | ||||
-rw-r--r-- | include/sys/ttydefaults.h | 6 | ||||
-rw-r--r-- | include/sys/types.h | 2 |
5 files changed, 13 insertions, 13 deletions
diff --git a/include/sys/file.h b/include/sys/file.h index 93b36350a..3b8dbc9c0 100644 --- a/include/sys/file.h +++ b/include/sys/file.h @@ -39,7 +39,7 @@ __BEGIN_DECLS /* Operations for the `flock' call. */ #define LOCK_SH 1 /* Shared lock. */ -#define LOCK_EX 2 /* Exclusive lock. */ +#define LOCK_EX 2 /* Exclusive lock. */ #define LOCK_UN 8 /* Unlock. */ /* Can be OR'd in to one of the above. */ diff --git a/include/sys/queue.h b/include/sys/queue.h index d62afcc84..0ea0c11fc 100644 --- a/include/sys/queue.h +++ b/include/sys/queue.h @@ -333,7 +333,7 @@ struct { \ if (LIST_NEXT((elm), field) != NULL && \ LIST_NEXT((elm), field)->field.le_prev != \ &((elm)->field.le_next)) \ - panic("Bad link elm %p next->prev != elm", (elm)); \ + panic("Bad link elm %p next->prev != elm", (elm)); \ } while (0) #define QMD_LIST_CHECK_PREV(elm, field) do { \ @@ -395,7 +395,7 @@ struct { \ QMD_LIST_CHECK_NEXT(elm, field); \ QMD_LIST_CHECK_PREV(elm, field); \ if (LIST_NEXT((elm), field) != NULL) \ - LIST_NEXT((elm), field)->field.le_prev = \ + LIST_NEXT((elm), field)->field.le_prev = \ (elm)->field.le_prev; \ *(elm)->field.le_prev = LIST_NEXT((elm), field); \ TRASHIT((elm)->field.le_next); \ @@ -435,7 +435,7 @@ struct { \ #define QMD_TAILQ_CHECK_TAIL(head, field) do { \ if (*(head)->tqh_last != NULL) \ - panic("Bad tailq NEXT(%p->tqh_last) != NULL", (head)); \ + panic("Bad tailq NEXT(%p->tqh_last) != NULL", (head)); \ } while (0) #define QMD_TAILQ_CHECK_NEXT(elm, field) do { \ @@ -500,7 +500,7 @@ struct { \ #define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ QMD_TAILQ_CHECK_NEXT(listelm, field); \ if ((TAILQ_NEXT((elm), field) = TAILQ_NEXT((listelm), field)) != NULL)\ - TAILQ_NEXT((elm), field)->field.tqe_prev = \ + TAILQ_NEXT((elm), field)->field.tqe_prev = \ &TAILQ_NEXT((elm), field); \ else { \ (head)->tqh_last = &TAILQ_NEXT((elm), field); \ @@ -557,7 +557,7 @@ struct { \ QMD_TAILQ_CHECK_NEXT(elm, field); \ QMD_TAILQ_CHECK_PREV(elm, field); \ if ((TAILQ_NEXT((elm), field)) != NULL) \ - TAILQ_NEXT((elm), field)->field.tqe_prev = \ + TAILQ_NEXT((elm), field)->field.tqe_prev = \ (elm)->field.tqe_prev; \ else { \ (head)->tqh_last = (elm)->field.tqe_prev; \ diff --git a/include/sys/time.h b/include/sys/time.h index 46b9b5667..1dfe4f36e 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -166,9 +166,9 @@ extern int futimesat (int __fd, __const char *__file, NOTE: `timercmp' does not work for >= or <=. */ # define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) # define timerclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0) -# define timercmp(a, b, CMP) \ - (((a)->tv_sec == (b)->tv_sec) ? \ - ((a)->tv_usec CMP (b)->tv_usec) : \ +# define timercmp(a, b, CMP) \ + (((a)->tv_sec == (b)->tv_sec) ? \ + ((a)->tv_usec CMP (b)->tv_usec) : \ ((a)->tv_sec CMP (b)->tv_sec)) # define timeradd(a, b, result) \ do { \ diff --git a/include/sys/ttydefaults.h b/include/sys/ttydefaults.h index 9be168b83..bb605a458 100644 --- a/include/sys/ttydefaults.h +++ b/include/sys/ttydefaults.h @@ -75,9 +75,9 @@ #define CSTART CTRL('q') #define CSTOP CTRL('s') #define CLNEXT CTRL('v') -#define CDISCARD CTRL('o') -#define CWERASE CTRL('w') -#define CREPRINT CTRL('r') +#define CDISCARD CTRL('o') +#define CWERASE CTRL('w') +#define CREPRINT CTRL('r') #define CEOT CEOF /* compat */ #define CBRK CEOL diff --git a/include/sys/types.h b/include/sys/types.h index 8c0b5dce3..7e29dc832 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -1,5 +1,5 @@ /* Copyright (C) 1991,1992,1994,1995,1996,1997,1998,1999,2000,2001,2002 - Free Software Foundation, Inc. + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or |