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
@@ -26,14 +26,14 @@
|
||||
/* Provides uptime and idle time. */
|
||||
|
||||
void
|
||||
glibtop_get_uptime__l (glibtop *server, glibtop_uptime *buf)
|
||||
glibtop_get_uptime_l (glibtop *server, glibtop_uptime *buf)
|
||||
{
|
||||
glibtop_init__r (&server, GLIBTOP_SYSDEPS_UPTIME, 0);
|
||||
glibtop_init_r (&server, GLIBTOP_SYSDEPS_UPTIME, 0);
|
||||
|
||||
if (server->features & GLIBTOP_SYSDEPS_UPTIME) {
|
||||
glibtop_call__l (server, GLIBTOP_CMND_UPTIME, 0, NULL,
|
||||
glibtop_call_l (server, GLIBTOP_CMND_UPTIME, 0, NULL,
|
||||
sizeof (glibtop_uptime), buf);
|
||||
} else {
|
||||
glibtop_get_uptime__r (server, buf);
|
||||
glibtop_get_uptime_r (server, buf);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user