diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2004-09-23 08:13:28 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2004-09-23 08:13:28 +0000 |
commit | 61889bc182d6a81acc06bb18d63f95d9401c8f45 (patch) | |
tree | d8aa62cf7d9660a31610172fab49381bcf850807 /sysdeps/linux/glibtop_server.h | |
parent | c29887d4b0ed08dbee04f9fdcd98bc3fc9d47f81 (diff) | |
download | libgtop-61889bc182d6a81acc06bb18d63f95d9401c8f45.tar.gz |
Removed get_pageshift(). Every one can affort a * instead of a >>, no need
* glibtop_server.c:
* glibtop_server.h:
* procmem.c: (glibtop_get_proc_mem_s):
* procsegment.c: (glibtop_get_proc_segment_s): Removed get_pageshift().
Every one can affort a * instead of a >>, no need for this kind of
non-reentrant optimization. Saved 144B (obviously perfect cleanup ;)
Diffstat (limited to 'sysdeps/linux/glibtop_server.h')
-rw-r--r-- | sysdeps/linux/glibtop_server.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/linux/glibtop_server.h b/sysdeps/linux/glibtop_server.h index b3451b10..bff9f775 100644 --- a/sysdeps/linux/glibtop_server.h +++ b/sysdeps/linux/glibtop_server.h @@ -39,8 +39,6 @@ G_BEGIN_DECLS #define LINUX_VERSION_CODE(x,y,z) (0x10000*(x) + 0x100*(y) + z) -unsigned get_pageshift(void); - static inline char* next_token(const char *p) { |