diff options
author | richard <richard@pkgsrc.org> | 2016-08-17 15:19:42 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2016-08-17 15:19:42 +0000 |
commit | 239fc6b5a1f54625dfd199dbbb4e6a79d94ff607 (patch) | |
tree | 529fdb9cdda62bdbd1b3cc60cc7b282a8915d655 /sysutils/lxtask/patches | |
parent | 6c1c6291cd1a62f41b8f85aeed62c28bd9941357 (diff) | |
download | pkgsrc-239fc6b5a1f54625dfd199dbbb4e6a79d94ff607.tar.gz |
fix function prototype to match body in order to avoid:
>xfce-taskmanager-linux.c:33:6: error: conflicting types for 'get_task_details'
> void get_task_details(pid_t pid,struct task *task)
> ^
>In file included from xfce-taskmanager-linux.c:30:0:
>xfce-taskmanager-linux.h:41:6: note: previous declaration of 'get_task_details' was here
> void get_task_details(gint pid,struct task *task);
> ^
Diffstat (limited to 'sysutils/lxtask/patches')
-rw-r--r-- | sysutils/lxtask/patches/patch-src_xfce-taskmanager-linux.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/lxtask/patches/patch-src_xfce-taskmanager-linux.h b/sysutils/lxtask/patches/patch-src_xfce-taskmanager-linux.h new file mode 100644 index 00000000000..43c0c4fddc3 --- /dev/null +++ b/sysutils/lxtask/patches/patch-src_xfce-taskmanager-linux.h @@ -0,0 +1,14 @@ +$NetBSD: patch-src_xfce-taskmanager-linux.h,v 1.1 2016/08/17 15:19:42 richard Exp $ +fix declaration to be the same as the implementation. + +--- src/xfce-taskmanager-linux.h.orig 2014-09-16 12:27:52.000000000 +0000 ++++ src/xfce-taskmanager-linux.h +@@ -38,7 +38,7 @@ + #define SIGNAL_CONT SIGCONT + #define SIGNAL_STOP SIGSTOP + +-void get_task_details(gint pid,struct task *task); ++void get_task_details(pid_t pid,struct task *task); + GArray *get_task_list(void); + gboolean get_system_status(system_status *sys_stat); + gboolean get_cpu_usage_from_proc(system_status *sys_stat); |