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:
committed by
Martin Baulig
parent
fabb12370f
commit
f3d309441a
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user