projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable warnings; fix many of them
[trust_router.git]
/
common
/
tr_msg.c
diff --git
a/common/tr_msg.c
b/common/tr_msg.c
index
b475c02
..
0554d5a
100644
(file)
--- a/
common/tr_msg.c
+++ b/
common/tr_msg.c
@@
-98,7
+98,7
@@
static DH *tr_msg_decode_dh(json_t *jdh)
return dh;
}
return dh;
}
-
json_t *
tr_msg_encode_tidreq(TID_REQ *req)
+
static json_t *
tr_msg_encode_tidreq(TID_REQ *req)
{
json_t *jreq = NULL;
json_t *jstr = NULL;
{
json_t *jreq = NULL;
json_t *jstr = NULL;
@@
-122,7
+122,7
@@
json_t *tr_msg_encode_tidreq(TID_REQ *req)
return jreq;
}
return jreq;
}
-TID_REQ *tr_msg_decode_tidreq(json_t *jreq)
+
static
TID_REQ *tr_msg_decode_tidreq(json_t *jreq)
{
TID_REQ *treq = NULL;
json_error_t rc;
{
TID_REQ *treq = NULL;
json_error_t rc;
@@
-169,7
+169,7
@@
TID_REQ *tr_msg_decode_tidreq(json_t *jreq)
return treq;
}
return treq;
}
-
json_t *
tr_msg_encode_tidresp(TID_RESP *resp)
+
static json_t *
tr_msg_encode_tidresp(TID_RESP *resp)
{
json_t *jresp = NULL;
json_t *jstr = NULL;
{
json_t *jresp = NULL;
json_t *jstr = NULL;
@@
-201,7
+201,7
@@
json_t *tr_msg_encode_tidresp(TID_RESP *resp)
return jresp;
}
return jresp;
}
-TID_RESP *tr_msg_decode_tidresp(json_t *jresp)
+
static
TID_RESP *tr_msg_decode_tidresp(json_t *jresp)
{
TID_RESP *tresp = NULL;
json_error_t rc;
{
TID_RESP *tresp = NULL;
json_error_t rc;