Port: Add macro for socket linking on solaris
[lttng-tools.git] / src / common / compat / socket.h
index 6a490bebbdaf5cef5bc24a8a8f16dc07ab025810..5a6802aacd77720f72e7de93dfd4aeac61161b25 100644 (file)
@@ -74,8 +74,9 @@ typedef struct lttng_sock_cred lttng_sock_cred;
 
 
 #include <ucred.h>
 
 
 #include <ucred.h>
-static int
-getpeereid(int s, uid_t *euid, gid_t *gid)
+
+static inline
+int getpeereid(int s, uid_t *euid, gid_t *gid)
 {
        int ret = 0;
        ucred_t *ucred = NULL;
 {
        int ret = 0;
        ucred_t *ucred = NULL;
This page took 0.024437 seconds and 5 git commands to generate.