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:
committed by
Martin Baulig
parent
db3d7adbaa
commit
0ea8e591f4
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user