Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make it work on win32; use the portable errno on socks; fix a bug revealed by the...
[simgrid.git] / include / xbt / dynar.h
index bfdcd50..64136a4 100644 (file)
@@ -1,8 +1,8 @@
 /* $Id$ */
 
-/* dynar - a generic dynamic array                                         */
+/* dynar - a generic dynamic array                                          */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* 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. */
@@ -73,7 +73,7 @@ int  xbt_dynar_cursor_get   (const xbt_dynar_t dynar, int *cursor, void *whereto
  * Iterates over the whole dynar. Example:
  *
  * <programlisting>
- * xbt_dynar_t *dyn;
+ * xbt_dynar_t dyn;
  * int cpt;
  * string *str;
  * xbt_dynar_foreach (dyn,cpt,str) {