projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Port: Add macro for socket linking on solaris
[lttng-tools.git]
/
src
/
common
/
compat
/
socket.h
diff --git
a/src/common/compat/socket.h
b/src/common/compat/socket.h
index 6a490bebbdaf5cef5bc24a8a8f16dc07ab025810..5a6802aacd77720f72e7de93dfd4aeac61161b25 100644
(file)
--- a/
src/common/compat/socket.h
+++ b/
src/common/compat/socket.h
@@
-74,8
+74,9
@@
typedef struct lttng_sock_cred lttng_sock_cred;
#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;
This page took
0.025222 seconds
and
5
git commands to generate.