summaryrefslogtreecommitdiff
path: root/sysdeps/generic/timer_routines.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 01:19:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 01:19:22 +0200
commit4b90d3f6146154638ffbe227da48e9af0dd2a803 (patch)
tree7e034f416b4b7e95a76b99418df21e64e795e22a /sysdeps/generic/timer_routines.h
parentb1f57fa0cf5515263bebcefe1044995ebaf9a1f3 (diff)
Fix coding style
Diffstat (limited to 'sysdeps/generic/timer_routines.h')
-rw-r--r--sysdeps/generic/timer_routines.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/timer_routines.h b/sysdeps/generic/timer_routines.h
index 21da7d9..c506ce9 100644
--- a/sysdeps/generic/timer_routines.h
+++ b/sysdeps/generic/timer_routines.h
@@ -28,13 +28,13 @@
performance reason. One could use the access functions to get the
values of all the fields of the attribute structure. */
static inline int
-thread_attr_compare (const pthread_attr_t *left, const pthread_attr_t *right)
+thread_attr_compare (const pthread_attr_t * left, const pthread_attr_t * right)
{
struct __pthread_attr *ileft = (struct __pthread_attr *) left;
struct __pthread_attr *iright = (struct __pthread_attr *) right;
return (ileft->__schedparam.sched_priority
- == iright->__schedparam.sched_priority
+ == iright->__schedparam.sched_priority
&& ileft->__stackaddr == iright->__stackaddr
&& ileft->__stacksize == iright->__stacksize
&& ileft->__guardsize == iright->__guardsize
@@ -44,4 +44,4 @@ thread_attr_compare (const pthread_attr_t *left, const pthread_attr_t *right)
&& ileft->__schedpolicy == iright->__schedpolicy);
}
-#endif /* timer_routines.h */
+#endif /* timer_routines.h */