summaryrefslogtreecommitdiff
path: root/include/glibtop/procsegment.h
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-06-01 15:14:50 +0000
committerMartin Baulig <martin@src.gnome.org>1998-06-01 15:14:50 +0000
commitb7be9a7141893692c456f6dd579effbc959d1d20 (patch)
tree333afbb075f6135ed0153456d9833cd2d29463cc /include/glibtop/procsegment.h
parent67798e0d7d631f030db33147ef06d986bba1a5bb (diff)
downloadlibgtop-b7be9a7141893692c456f6dd579effbc959d1d20.tar.gz
added 'dummy' member so 'GLIBTOP_SYSDEPS_<feature>' now start with 1.
* include/glibtop/sysdeps.h: added 'dummy' member so 'GLIBTOP_SYSDEPS_<feature>' now start with 1. * include/glibtop/*.h: we now #define 'glibtop_get_<feature>' as 'glibtop_get_<feature>__l' and 'glibtop_get_<feature>__r' either as the '__p' or the '__s' function.
Diffstat (limited to 'include/glibtop/procsegment.h')
-rw-r--r--include/glibtop/procsegment.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/glibtop/procsegment.h b/include/glibtop/procsegment.h
index 7b8b4425..574b60b3 100644
--- a/include/glibtop/procsegment.h
+++ b/include/glibtop/procsegment.h
@@ -54,16 +54,17 @@ struct _glibtop_proc_segment
start_stack; /* address of the bottom of stack segment */
};
-#define glibtop_get_proc_segment(p1, p2) glibtop_get_proc_segment__r(glibtop_global_server, p1, p2)
+#define glibtop_get_proc_segment(p1, p2) glibtop_get_proc_segment__l(glibtop_global_server, p1, p2)
#if GLIBTOP_SUID_PROC_SEGMENT
-#define glibtop_get_proc_segment__r glibtop_get_proc_segment__l
+#define glibtop_get_proc_segment__r glibtop_get_proc_segment__p
#else
#define glibtop_get_proc_segment__r glibtop_get_proc_segment__s
#endif
-#if GLIBTOP_SUID_PROC_SEGMENT
extern void glibtop_get_proc_segment__l __P((glibtop *, glibtop_proc_segment *, pid_t));
+
+#if GLIBTOP_SUID_PROC_SEGMENT
extern void glibtop_get_proc_segment__p __P((glibtop *, glibtop_proc_segment *, pid_t));
#else
extern void glibtop_get_proc_segment__s __P((glibtop *, glibtop_proc_segment *, pid_t));