Fix: return value signedness
[lttng-tools.git] / src / bin / lttng-sessiond / session.h
index fd8f9116d21585d46fb1ac541272b397759cb293..8294a83fdc0d9852f4f91276a46ae295d251c42a 100644 (file)
@@ -18,8 +18,6 @@
 #ifndef _LTT_SESSION_H
 #define _LTT_SESSION_H
 
 #ifndef _LTT_SESSION_H
 #define _LTT_SESSION_H
 
-#include <pthread.h>
-#include <unistd.h>
 #include <urcu/list.h>
 
 #include "trace-kernel.h"
 #include <urcu/list.h>
 
 #include "trace-kernel.h"
@@ -68,7 +66,7 @@ struct ltt_session {
        pthread_mutex_t lock;
        struct cds_list_head list;
        int enabled;    /* enabled/started flag */
        pthread_mutex_t lock;
        struct cds_list_head list;
        int enabled;    /* enabled/started flag */
-       int id;         /* session unique identifier */
+       unsigned int id;                /* session unique identifier */
        /* UID/GID of the user owning the session */
        uid_t uid;
        gid_t gid;
        /* UID/GID of the user owning the session */
        uid_t uid;
        gid_t gid;
This page took 0.022956 seconds and 4 git commands to generate.