--- psiconv/trunk/lib/psiconv/list.h 2000/12/13 16:17:54 62 +++ psiconv/trunk/lib/psiconv/list.h 2000/12/20 22:07:49 70 @@ -1,6 +1,6 @@ /* list.h - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 1999 Frodo Looijaard + Copyright (c) 1999, 2000 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -69,7 +69,7 @@ As the lists extends itself, it may be necessary to allocate new memory. If this fails, a negative error-code is returned. If everything, succeeds, 0 is returned. */ -extern int psiconv_list_add(psiconv_list l, void *el); +extern int psiconv_list_add(psiconv_list l, const void *el); /* Do some action for each element. Note: you can directly modify the elements supplied to action, and they will be changed in the list,