We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd0857c commit e2256b4Copy full SHA for e2256b4
print-someip.c
@@ -42,7 +42,7 @@
42
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
43
*/
44
45
-struct tok message_type_values[] = {
+static const struct tok message_type_values[] = {
46
{ 0x00, "REQUEST" },
47
{ 0x01, "REQUEST_NO_RETURN" },
48
{ 0x02, "NOTIFICATION" },
@@ -56,7 +56,7 @@ struct tok message_type_values[] = {
56
{ 0, NULL }
57
};
58
59
-struct tok return_code_values[] = {
+static const struct tok return_code_values[] = {
60
{ 0x00, "E_OK" },
61
{ 0x01, "E_NOT_OK" },
62
{ 0x02, "E_UNKNOWN_SERVICE" },
@@ -73,6 +73,7 @@ struct tok return_code_values[] = {
73
{ 0x0d, "E_E2E" },
74
{ 0x0e, "E_E2E_NOT_AVAILABLE" },
75
{ 0x0f, "E_E2E_NO_NEW_DATA" },
76
+ { 0, NULL }
77
78
79
void
0 commit comments