Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ONGOING work on exceptions plus minor cleanups.
[simgrid.git] / testsuite / xbt / dynar_double.c
index 97ce5b0..7e8ef1a 100644 (file)
@@ -2,24 +2,21 @@
 
 /* dynar_double: A test case for the dynar using doubles as content         */
 
-/* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2003 the OURAGAN project.                                  */
+/* Copyright (c) 2003,2004 Martin Quinson. 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. */
* under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include <stdio.h>
-#include <gras.h>
+#include "gras.h"
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging specific to this test");
 
 int main(int argc,char *argv[]) {
    xbt_dynar_t d;
-   xbt_error_t errcode;
    int cpt,cursor;
    double d1,d2;
    
-   xbt_init_defaultlog(&argc,argv,"dynar.thresh=debug");
+   xbt_init(&argc,argv);
 
    INFO0("==== Traverse the empty dynar");
    d=xbt_dynar_new(sizeof(int),NULL);