Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
110d42da
Commit
110d42da
authored
Jun 16, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/*_utils.h: add enum value to represent CONVC_TYPE_END value
Without this, clang issues an error.
parent
e8000677
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ll_io_eth_utils.h
include/ll_io_eth_utils.h
+5
-3
No files found.
include/ll_io_eth_utils.h
View file @
110d42da
...
...
@@ -12,11 +12,13 @@
extern
"C"
{
#endif
typedef
enum
{
enum
_llio_eth_type_e
{
TCP_ETH_SOCK
=
0
,
UDP_ETH_SOCK
=
1
,
INVALID_ETH_SOCK
}
llio_eth_type_e
;
INVALID_ETH_SOCK
,
/* Give this enum the ability to represent CONVC_TYPE_END */
END_ETH_SOCK
=
CONVC_TYPE_END
};
#define TCP_ETH_SOCK_STR "tcp"
#define UDP_ETH_SOCK_STR "udp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment