style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25175 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3bfa2d1223
commit
d6e065401f
|
@ -171,7 +171,7 @@ struct utsname {
|
|||
int uname(struct utsname *name);
|
||||
_EXPORT int uname(struct utsname *name)
|
||||
{
|
||||
if(!name)
|
||||
if (!name)
|
||||
return B_ERROR;
|
||||
|
||||
strcpy(name->sysname, "BeOS");
|
||||
|
|
|
@ -77,9 +77,9 @@ _EXPORT int socket(int family, int type, int protocol)
|
|||
/* also convert AF_INET */
|
||||
if (family == 1)
|
||||
family = AF_INET;
|
||||
} else if(type == SOCK_DGRAM)
|
||||
} else if (type == SOCK_DGRAM)
|
||||
type = SOCK_NATIVE_DGRAM;
|
||||
else if(type == SOCK_STREAM)
|
||||
else if (type == SOCK_STREAM)
|
||||
type = SOCK_NATIVE_STREAM;
|
||||
|
||||
args.u.socket.family = family;
|
||||
|
|
Loading…
Reference in New Issue