[libgtop] Reorder GI annotations and remove duplicate for _l().



commit fba67da65ddabdbedd6bf666cd50cbe01257dbe6
Author: Benoit Dejean <bdejean gmail com>
Date:   Sun Jun 21 18:17:57 2015 +0200

    Reorder GI annotations and remove duplicate for _l().

 include/glibtop/procopenfiles.h |   41 ++++++++++++++++----------------------
 1 files changed, 17 insertions(+), 24 deletions(-)
---
diff --git a/include/glibtop/procopenfiles.h b/include/glibtop/procopenfiles.h
index a3ae7fe..ef89e74 100644
--- a/include/glibtop/procopenfiles.h
+++ b/include/glibtop/procopenfiles.h
@@ -102,6 +102,16 @@ struct _glibtop_proc_open_files
  * Returns: (transfer none):
  */
 
+glibtop_open_files_entry *
+glibtop_get_proc_open_files(glibtop_proc_open_files *buf, pid_t pid);
+
+#if GLIBTOP_SUID_PROC_FILE
+#define glibtop_get_proc_open_files_r          glibtop_get_proc_open_files_p
+#else
+#define glibtop_get_proc_open_files_r          glibtop_get_proc_open_files_s
+#endif
+
+
 /**
  * glibtop_get_proc_open_files_l:
  * @server:
@@ -111,17 +121,15 @@ struct _glibtop_proc_open_files
  * Returns: (transfer none):
  */
 
-/**
- * glibtop_get_proc_open_files_p:
- * @server:
- * @buf: (out):
- * @pid:
- *
- * Returns: (transfer none):
- */
+glibtop_open_files_entry *
+glibtop_get_proc_open_files_l (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
+
+#if GLIBTOP_SUID_PROC_FILE
+void _glibtop_init_proc_open_files_p (glibtop *server);
+
 
 /**
- * glibtop_get_proc_open_files_s:
+ * glibtop_get_proc_open_files_p:
  * @server:
  * @buf: (out):
  * @pid:
@@ -130,21 +138,6 @@ struct _glibtop_proc_open_files
  */
 
 glibtop_open_files_entry *
-glibtop_get_proc_open_files(glibtop_proc_open_files *buf, pid_t pid);
-
-#if GLIBTOP_SUID_PROC_FILE
-#define glibtop_get_proc_open_files_r          glibtop_get_proc_open_files_p
-#else
-#define glibtop_get_proc_open_files_r          glibtop_get_proc_open_files_s
-#endif
-
-glibtop_open_files_entry *
-glibtop_get_proc_open_files_l (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
-
-#if GLIBTOP_SUID_PROC_FILE
-void _glibtop_init_proc_open_files_p (glibtop *server);
-
-glibtop_open_files_entry *
 glibtop_get_proc_open_files_p (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
 #else
 void _glibtop_init_proc_open_files_s (glibtop *server);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]