Added missing whitespace in function calls within adaptors
Pointed out by Tom From-SVN: r28803
This commit is contained in:
parent
5b02bbf7bb
commit
b78639f6f2
@ -243,7 +243,7 @@ getpwuid_adaptor(int (*getpwuid_r)(T_uid user_id, T_passwd *pwd_r,
|
|||||||
uid_t user_id, struct passwd *pwd_r,
|
uid_t user_id, struct passwd *pwd_r,
|
||||||
char *buf_r, size_t len_r, struct passwd **pwd_entry)
|
char *buf_r, size_t len_r, struct passwd **pwd_entry)
|
||||||
{
|
{
|
||||||
return getpwuid_r(user_id, pwd_r, buf_r, len_r, pwd_entry);
|
return getpwuid_r (user_id, pwd_r, buf_r, len_r, pwd_entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is used on IRIX 5.2. */
|
/* This is used on IRIX 5.2. */
|
||||||
@ -254,7 +254,7 @@ getpwuid_adaptor(T_passwd * (*getpwuid_r)(T_uid user_id, T_passwd *pwd_r,
|
|||||||
uid_t user_id, struct passwd *pwd_r,
|
uid_t user_id, struct passwd *pwd_r,
|
||||||
char *buf_r, size_t len_r, struct passwd **pwd_entry)
|
char *buf_r, size_t len_r, struct passwd **pwd_entry)
|
||||||
{
|
{
|
||||||
*pwd_entry = getpwuid_r(user_id, pwd_r, buf_r, len_r);
|
*pwd_entry = getpwuid_r (user_id, pwd_r, buf_r, len_r);
|
||||||
return (*pwd_entry == NULL) ? errno : 0;
|
return (*pwd_entry == NULL) ? errno : 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -37,7 +37,7 @@ static inline char *
|
|||||||
ctime_adaptor (char* (*ctime_r)(T_clock *clock, T_buf *buf),
|
ctime_adaptor (char* (*ctime_r)(T_clock *clock, T_buf *buf),
|
||||||
time_t *clock, char (&buf)[buflen])
|
time_t *clock, char (&buf)[buflen])
|
||||||
{
|
{
|
||||||
return ctime_r(clock, buf);
|
return ctime_r (clock, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is an old-style ctime_r, used on IRIX 5.2. */
|
/* This is an old-style ctime_r, used on IRIX 5.2. */
|
||||||
@ -46,7 +46,7 @@ static inline char *
|
|||||||
ctime_adaptor (char* (*ctime_r)(T_clock *clock, T_buf *buf, T_buflen len),
|
ctime_adaptor (char* (*ctime_r)(T_clock *clock, T_buf *buf, T_buflen len),
|
||||||
time_t *clock, char (&buf)[buflen])
|
time_t *clock, char (&buf)[buflen])
|
||||||
{
|
{
|
||||||
return ctime_r(clock, buf, buflen);
|
return ctime_r (clock, buf, buflen);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user