Moved 8 static error functions to sysdeps/common/error.c. This is the end

* include/glibtop/error.h: Moved 8 static error functions to
        sysdeps/common/error.c. This is the end of an big useless code
        bloat : expect ~8KB of object size reduction.

        * include/glibtop/procuid.h: s/int/gint32/g

        * lib/errors.c: (glibtop_error_quark):
        * lib/read.c: (do_read), (glibtop_read_l):
        * lib/read_data.c: (glibtop_read_data_l): Minor cleanups.
This commit is contained in:
Benoît Dejean
2004-06-18 07:38:37 +00:00
parent bb01063e93
commit 6b3d52ff0e
6 changed files with 41 additions and 113 deletions

View File

@@ -59,7 +59,7 @@ typedef struct _glibtop_proc_uid glibtop_proc_uid;
struct _glibtop_proc_uid
{
guint64 flags;
int uid, /* user id */
gint32 uid, /* user id */
euid, /* effective user id */
gid, /* group id */
egid, /* effective group id */