Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
0e73579f
Commit
0e73579f
authored
Jun 16, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/libs/libdisptable/*: add BAD_MSG error
parent
fcebe708
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
disp_table_err.c
src/libs/libdisptable/disp_table_err.c
+2
-1
disp_table_err.h
src/libs/libdisptable/disp_table_err.h
+1
-0
No files found.
src/libs/libdisptable/disp_table_err.c
View file @
0e73579f
...
...
@@ -15,7 +15,8 @@ static const char *disp_table_err [DISP_TABLE_ERR_END] =
[
DISP_TABLE_SUCCESS
]
=
"Success"
,
[
DISP_TABLE_ERR_ALLOC
]
=
"Could not allocate memory"
,
[
DISP_TABLE_ERR_NULL_POINTER
]
=
"Null pointer received"
,
[
DISP_TABLE_ERR_NO_FUNC_REG
]
=
"No function registered"
[
DISP_TABLE_ERR_NO_FUNC_REG
]
=
"No function registered"
,
[
DISP_TABLE_ERR_BAD_MSG
]
=
"Bad message detected"
};
/* Convert enumeration type to string */
...
...
src/libs/libdisptable/disp_table_err.h
View file @
0e73579f
...
...
@@ -17,6 +17,7 @@ enum _disp_table_err_e
DISP_TABLE_ERR_ALLOC
,
/* Could not allocate memory */
DISP_TABLE_ERR_NULL_POINTER
,
/* Null pointer received */
DISP_TABLE_ERR_NO_FUNC_REG
,
/* No function registered */
DISP_TABLE_ERR_BAD_MSG
,
/* Bad message detected */
DISP_TABLE_ERR_END
};
...
...
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