diff options
author | Wolfgang Denk <wd@denx.de> | 2008-05-20 16:00:29 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-21 00:14:08 +0200 |
commit | 53677ef18e25c97ac613349087c5cb33ae5a2741 (patch) | |
tree | f947d34d6efaee2401ea0e4c6104ef2f6a0f7ad0 /lib_generic | |
parent | 727f63334676e760877d43bfb8f0e9331ac8b101 (diff) |
Big white-space cleanup.
This commit gets rid of a huge amount of silly white-space issues.
Especially, all sequences of SPACEs followed by TAB characters get
removed (unless they appear in print statements).
Also remove all embedded "vim:" and "vi:" statements which hide
indentation problems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_generic')
-rw-r--r-- | lib_generic/Makefile | 2 | ||||
-rw-r--r-- | lib_generic/string.c | 2 | ||||
-rw-r--r-- | lib_generic/zlib.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib_generic/Makefile b/lib_generic/Makefile index abee19a2bb..dca3a6cbdc 100644 --- a/lib_generic/Makefile +++ b/lib_generic/Makefile @@ -43,7 +43,7 @@ COBJS-y += vsprintf.o COBJS-y += zlib.o COBJS := $(COBJS-y) -SRCS := $(COBJS:.o=.c) +SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) $(LIB): $(obj).depend $(OBJS) diff --git a/lib_generic/string.c b/lib_generic/string.c index e0b793abbe..181eda6149 100644 --- a/lib_generic/string.c +++ b/lib_generic/string.c @@ -263,7 +263,7 @@ char * strdup(const char *s) #ifndef __HAVE_ARCH_STRSPN /** * strspn - Calculate the length of the initial substring of @s which only - * contain letters in @accept + * contain letters in @accept * @s: The string to be searched * @accept: The string to search for */ diff --git a/lib_generic/zlib.c b/lib_generic/zlib.c index 668ac8f808..2b01c8f87d 100644 --- a/lib_generic/zlib.c +++ b/lib_generic/zlib.c @@ -1115,7 +1115,7 @@ z_stream *z; n -= t; z->total_out += t; s->read = q; /* drag read pointer forward */ -/* WRAP */ /* expand WRAP macro by hand to handle s->read */ +/* WRAP */ /* expand WRAP macro by hand to handle s->read */ if (q == s->end) { s->read = q = s->window; m = WAVAIL; |