tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

small comment confusion in unistd.h



Hi,

Is it ok to shuffle the comments in unistd.h (from -current) a little so
all _POSIX_* constants have their comment line in front of it?
See the attached patch.

ciao
     Klaus
Index: unistd.h
===================================================================
RCS file: /cvsroot/src/sys/sys/unistd.h,v
retrieving revision 1.42
diff -u -r1.42 unistd.h
--- unistd.h    25 Jun 2008 11:46:11 -0000      1.42
+++ unistd.h    26 Jul 2008 15:54:21 -0000
@@ -91,13 +91,13 @@
 #define        _POSIX_PRIORITY_SCHEDULING      200112L
                                /* threads */
 #define        _POSIX_THREADS          200112L
-                               /* semaphores */
-#define        _POSIX_THREAD_SAFE_FUNCTIONS    200112L
                                /* _r functions */
-#define        _POSIX_THREAD_ATTR_STACKSIZE    200112L
+#define        _POSIX_THREAD_SAFE_FUNCTIONS    200112L
                                /* pthread_attr functions for stack size */
-#define        _POSIX_THREAD_ATTR_STACKADDR    200112L
+#define        _POSIX_THREAD_ATTR_STACKSIZE    200112L
                                /* pthread_attr functions for stack address */
+#define        _POSIX_THREAD_ATTR_STACKADDR    200112L
+                               /* semaphores */
 #define        _POSIX_SEMAPHORES       0
                                /* barriers */
 #define        _POSIX_BARRIERS         200112L


Home | Main Index | Thread Index | Old Index