Using single underscore instead of two underscores for function prefixes
1998-06-07 Martin Baulig <martin@home-of-linux.org> * *.[ch]: Using single underscore instead of two underscores for function prefixes (regexp: ``s,__([rspl])\b,_$1,g'') to avoid ambiguity with mangled C++ names.
This commit is contained in:
committed by
Martin Baulig
parent
85f31a1707
commit
c84923132a
@@ -24,15 +24,15 @@
|
||||
/* Writes some data to server. */
|
||||
|
||||
void
|
||||
glibtop_write__l (glibtop *server, size_t size, void *buf)
|
||||
glibtop_write_l (glibtop *server, size_t size, void *buf)
|
||||
{
|
||||
glibtop_init__r (&server, 0, 0);
|
||||
glibtop_init_r (&server, 0, 0);
|
||||
|
||||
if (write (server->output [1], &size, sizeof (size_t)) < 0)
|
||||
glibtop_error__r (server, _("write size: %s"), strerror (errno));
|
||||
glibtop_error_r (server, _("write size: %s"), strerror (errno));
|
||||
|
||||
if (!size) return;
|
||||
|
||||
if (write (server->output [1], buf, size) < 0)
|
||||
glibtop_error__r (server, _("write %d bytes: %s"), size, strerror (errno));
|
||||
glibtop_error_r (server, _("write %d bytes: %s"), size, strerror (errno));
|
||||
}
|
||||
|
Reference in New Issue
Block a user