summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/attr.c')
-rw-r--r--libpthread/linuxthreads/attr.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libpthread/linuxthreads/attr.c b/libpthread/linuxthreads/attr.c
index e60f2ed32..52e115c8e 100644
--- a/libpthread/linuxthreads/attr.c
+++ b/libpthread/linuxthreads/attr.c
@@ -52,7 +52,7 @@ int __pthread_attr_destroy(pthread_attr_t *attr)
{
return 0;
}
-strong_alias (__pthread_attr_destroy, pthread_attr_destroy);
+strong_alias (__pthread_attr_destroy, pthread_attr_destroy)
int __pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate)
{
@@ -62,14 +62,14 @@ int __pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate)
attr->__detachstate = detachstate;
return 0;
}
-strong_alias (__pthread_attr_setdetachstate, pthread_attr_setdetachstate);
+strong_alias (__pthread_attr_setdetachstate, pthread_attr_setdetachstate)
int __pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachstate)
{
*detachstate = attr->__detachstate;
return 0;
}
-strong_alias (__pthread_attr_getdetachstate, pthread_attr_getdetachstate);
+strong_alias (__pthread_attr_getdetachstate, pthread_attr_getdetachstate)
int __pthread_attr_setschedparam(pthread_attr_t *attr,
const struct sched_param *param)
@@ -82,7 +82,7 @@ int __pthread_attr_setschedparam(pthread_attr_t *attr,
memcpy (&attr->__schedparam, param, sizeof (struct sched_param));
return 0;
}
-strong_alias (__pthread_attr_setschedparam, pthread_attr_setschedparam);
+strong_alias (__pthread_attr_setschedparam, pthread_attr_setschedparam)
int __pthread_attr_getschedparam(const pthread_attr_t *attr,
struct sched_param *param)
@@ -90,7 +90,7 @@ int __pthread_attr_getschedparam(const pthread_attr_t *attr,
memcpy (param, &attr->__schedparam, sizeof (struct sched_param));
return 0;
}
-strong_alias (__pthread_attr_getschedparam, pthread_attr_getschedparam);
+strong_alias (__pthread_attr_getschedparam, pthread_attr_getschedparam)
int __pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy)
{
@@ -99,14 +99,14 @@ int __pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy)
attr->__schedpolicy = policy;
return 0;
}
-strong_alias (__pthread_attr_setschedpolicy, pthread_attr_setschedpolicy);
+strong_alias (__pthread_attr_setschedpolicy, pthread_attr_setschedpolicy)
int __pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy)
{
*policy = attr->__schedpolicy;
return 0;
}
-strong_alias (__pthread_attr_getschedpolicy, pthread_attr_getschedpolicy);
+strong_alias (__pthread_attr_getschedpolicy, pthread_attr_getschedpolicy)
int __pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit)
{
@@ -115,14 +115,14 @@ int __pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit)
attr->__inheritsched = inherit;
return 0;
}
-strong_alias (__pthread_attr_setinheritsched, pthread_attr_setinheritsched);
+strong_alias (__pthread_attr_setinheritsched, pthread_attr_setinheritsched)
int __pthread_attr_getinheritsched(const pthread_attr_t *attr, int *inherit)
{
*inherit = attr->__inheritsched;
return 0;
}
-strong_alias (__pthread_attr_getinheritsched, pthread_attr_getinheritsched);
+strong_alias (__pthread_attr_getinheritsched, pthread_attr_getinheritsched)
int __pthread_attr_setscope(pthread_attr_t *attr, int scope)
{
@@ -136,14 +136,14 @@ int __pthread_attr_setscope(pthread_attr_t *attr, int scope)
return EINVAL;
}
}
-strong_alias (__pthread_attr_setscope, pthread_attr_setscope);
+strong_alias (__pthread_attr_setscope, pthread_attr_setscope)
int __pthread_attr_getscope(const pthread_attr_t *attr, int *scope)
{
*scope = attr->__scope;
return 0;
}
-strong_alias (__pthread_attr_getscope, pthread_attr_getscope);
+strong_alias (__pthread_attr_getscope, pthread_attr_getscope)
int __pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize)
{