Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright notices
[simgrid.git] / buildtools / Cmake / test_prog / prog_sem_open.c
index e9f0445..ad05384 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010. The SimGrid Team.
+/* Copyright (c) 2010-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
 #define SEM_FAILED (-1)
 #endif
 
-int main(void) {   
+int main(void) {
 #ifdef WIN32
-       int s;
+  int s;
 #else
-       sem_t * s;
+  sem_t * s;
 #endif
    s = sem_open("/0", O_CREAT, 0644, 10);
    if (s == SEM_FAILED){