Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix copyright headers
[simgrid.git] / buildtools / Cmake / prog_test / prog_getline.c
index 000ee7f..81a257f 100644 (file)
@@ -1,8 +1,14 @@
-    #define _GNU_SOURCE
-    #include <stdio.h>
-    int main(void){
-      FILE * fp;
-      char * line = NULL;
-      size_t len = 0;
-      getline(&line, &len, fp);
-    }
+/* Copyright (c) 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#define _GNU_SOURCE
+#include <stdio.h>
+int main(void){
+   FILE * fp;
+   char * line = NULL;
+   size_t len = 0;
+   getline(&line, &len, fp);
+}