summaryrefslogtreecommitdiff
path: root/sysdeps/linux/glibtop_server.h
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2004-05-26 11:51:09 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2004-05-26 11:51:09 +0000
commit0cdaaf1f62f36e7002501d5d9ebc23e98b43a1e4 (patch)
tree11ae7d062afefebd1092653e46f4f8689880bffc /sysdeps/linux/glibtop_server.h
parent0a761f37f2c7a9140bc5e0dad6a8aca9035a39d6 (diff)
downloadlibgtop-0cdaaf1f62f36e7002501d5d9ebc23e98b43a1e4.tar.gz
Moved LINUX_VERSION macro to glibtop_server.h.
* glibtop_server.h: * open.c: * procuid.c: Moved LINUX_VERSION macro to glibtop_server.h. * Changelog: Converted to UTF-8.
Diffstat (limited to 'sysdeps/linux/glibtop_server.h')
-rw-r--r--sysdeps/linux/glibtop_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/linux/glibtop_server.h b/sysdeps/linux/glibtop_server.h
index d96bbb33..e40c6bc6 100644
--- a/sysdeps/linux/glibtop_server.h
+++ b/sysdeps/linux/glibtop_server.h
@@ -31,6 +31,8 @@ G_BEGIN_DECLS
#ifdef _IN_LIBGTOP
+#define LINUX_VERSION(x,y,z) (0x10000*(x) + 0x100*(y) + z)
+
static inline char *
skip_token (const char *p)
{