Third argument is now `const void *'.

1998-08-25  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/command.h (glibtop_call): Third argument is
	now `const void *'.

	* include/glibtop/xmalloc.h (glibtop_free): Now taking a
	`const void *'.
This commit is contained in:
Martin Baulig
1998-08-25 08:41:02 +00:00
committed by Martin Baulig
parent db3d7adbaa
commit 0ea8e591f4
6 changed files with 16 additions and 10 deletions

View File

@@ -64,7 +64,7 @@ glibtop_strdup_r (glibtop *server, const char *string)
}
void
glibtop_free_r (glibtop *server, void *ptr)
glibtop_free_r (glibtop *server, const void *ptr)
{
if (ptr) free (ptr);
if (ptr) free ((void *) ptr);
}