The buffer which we write is now a `const'.

2000-01-13  Martin Baulig  <martin@home-of-linux.org>

	* write.c (glibtop_write_i): The buffer which we write is
	now a `const'.
This commit is contained in:
Martin Baulig
2000-01-13 00:16:40 +00:00
committed by Martin Baulig
parent fabb12370f
commit f3d309441a
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2000-01-13 Martin Baulig <martin@home-of-linux.org>
* write.c (glibtop_write_i): The buffer which we write is
now a `const'.
2000-01-12 Martin Baulig <martin@home-of-linux.org>
* Makefile.am: Install everything except the server binary

View File

@@ -50,6 +50,6 @@ glibtop_read_data_i (glibtop *server, glibtop_backend *backend);
void
glibtop_write_i (glibtop *server, glibtop_backend *backend,
size_t size, void *buf);
size_t size, const void *buf);
#endif

View File

@@ -35,7 +35,7 @@
void
glibtop_write_i (glibtop *server, glibtop_backend *backend,
size_t size, void *buf)
size_t size, const void *buf)
{
int ret;