Coding styles fixes.
[TD_SE.git] / thread-pid / thread-pid.c
index a993c777d5a11766f3f8ba3c3482be840e1bc6f2..648cd82c33ba39f0b64ac3a00a9a5754dde36bd5 100644 (file)
@@ -4,7 +4,7 @@
 
 static void* fonction(void* args) {
     printf("pid du thread fils = %d\n", getpid());
-    while(1);   // forever
+    while (1);   // forever
     return NULL;
 }
 
@@ -13,6 +13,6 @@ int main() {
 
     printf("pid de main = %d\n", getpid());
     pthread_create(&thread, NULL, &fonction, NULL);
-    while(1);   // forever
+    while (1);   // forever
     return 0;
 }