]> git.wh0rd.org - patches.git/blob - uclibc-cleanup-whitespaces.patch
initial import
[patches.git] / uclibc-cleanup-whitespaces.patch
1 diff --git a/libc/sysdeps/linux/arm/sigrestorer.S b/libc/sysdeps/linux/arm/sigrestorer.S
2 index daa614f..194228a 100644
3 --- a/libc/sysdeps/linux/arm/sigrestorer.S
4 +++ b/libc/sysdeps/linux/arm/sigrestorer.S
5 @@ -18,7 +18,7 @@
6
7 #include <sys/syscall.h>
8 #include <linux/version.h>
9 -
10 +
11 /* If no SA_RESTORER function was specified by the application we use
12 one of these. This avoids the need for the kernel to synthesise a return
13 instruction on the stack, which would involve expensive cache flushes.
14 diff --git a/libc/sysdeps/linux/sh/sys/ucontext.h b/libc/sysdeps/linux/sh/sys/ucontext.h
15 index e909f35..0996bf2 100644
16 --- a/libc/sysdeps/linux/sh/sys/ucontext.h
17 +++ b/libc/sysdeps/linux/sh/sys/ucontext.h
18 @@ -88,7 +88,7 @@ typedef freg_t fpregset_t[NFPREG];
19 typedef struct
20 {
21 unsigned int oldmask;
22 -
23 +
24 /* CPU registers */
25 gregset_t gregs;
26 unsigned int pc;
27 @@ -105,7 +105,7 @@ typedef struct
28 unsigned int fpscr;
29 unsigned int fpul;
30 unsigned int ownedfp;
31 -#endif
32 +#endif
33 } mcontext_t;
34
35 /* Userlevel context. */
36 diff --git a/libcrypt/md5.c b/libcrypt/md5.c
37 index 445cb69..95286bf 100644
38 --- a/libcrypt/md5.c
39 +++ b/libcrypt/md5.c
40 @@ -28,8 +28,8 @@
41 * edited for clarity and style only.
42 *
43 * ----------------------------------------------------------------------------
44 - * The md5_crypt() function was taken from freeBSD's libcrypt and contains
45 - * this license:
46 + * The md5_crypt() function was taken from freeBSD's libcrypt and contains
47 + * this license:
48 * "THE BEER-WARE LICENSE" (Revision 42):
49 * <phk@login.dknet.dk> wrote this file. As long as you retain this notice you
50 * can do whatever you want with this stuff. If we meet some day, and you think
51 @@ -38,7 +38,7 @@
52 * $FreeBSD: src/lib/libcrypt/crypt.c,v 1.7.2.1 1999/08/29 14:56:33 peter Exp $
53 *
54 * ----------------------------------------------------------------------------
55 - * On April 19th, 2001 md5_crypt() was modified to make it reentrant
56 + * On April 19th, 2001 md5_crypt() was modified to make it reentrant
57 * by Erik Andersen <andersen@uclibc.org>
58 *
59 *
60 @@ -99,7 +99,7 @@ static void __md5_Transform __P((u_int32_t [4], const unsigned char [64]));
61 #define MD5_MAGIC_STR "$1$"
62 #define MD5_MAGIC_LEN (sizeof(MD5_MAGIC_STR) - 1)
63 static const unsigned char __md5__magic[] = MD5_MAGIC_STR;
64 - /* This string is magic for this algorithm. Having
65 + /* This string is magic for this algorithm. Having
66 it this way, we can get better later on */
67 static const unsigned char __md5_itoa64[] = /* 0 ... 63 => ascii - 64 */
68 "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
69 @@ -333,7 +333,7 @@ __md5_Transform (state, block)
70
71 __md5_Decode (x, block, 64);
72
73 - a = state[0]; b = state[1]; c = state[2]; d = state[3];
74 + a = state[0]; b = state[1]; c = state[2]; d = state[3];
75
76 #if MD5_SIZE_OVER_SPEED > 2
77 pc = C; pp = P; ps = S - 4;