Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
This commit is contained in:
parent
77a0a5b519
commit
fa325e9b42
1021 changed files with 5688 additions and 6193 deletions
|
|
@ -13,7 +13,7 @@ void*
|
|||
p9malloc(ulong n)
|
||||
{
|
||||
void *v;
|
||||
|
||||
|
||||
if(n == 0)
|
||||
n++;
|
||||
lock(&malloclock);
|
||||
|
|
@ -38,7 +38,7 @@ void*
|
|||
p9calloc(ulong a, ulong b)
|
||||
{
|
||||
void *v;
|
||||
|
||||
|
||||
if(a*b == 0)
|
||||
a = b = 1;
|
||||
|
||||
|
|
@ -53,11 +53,10 @@ void*
|
|||
p9realloc(void *v, ulong n)
|
||||
{
|
||||
void *vv;
|
||||
|
||||
|
||||
lock(&malloclock);
|
||||
vv = realloc(v, n);
|
||||
unlock(&malloclock);
|
||||
print("p9realloc %p %lud => %p; pc %lux\n", v, n, vv, getcallerpc(&v));
|
||||
return vv;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue