Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
PPSi
Commits
8101e693
Commit
8101e693
authored
Feb 27, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diag: remove unsed PP_FSM and other macros
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
b4734205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
diag-macros.h
include/ppsi/diag-macros.h
+2
-7
No files found.
include/ppsi/diag-macros.h
View file @
8101e693
...
...
@@ -3,15 +3,10 @@
* we need to remove all strings and parameter passing when running
* wrpc-sw with all its options enabled, for space reasons.
*
*
So, this first set is always enabled, unless you build with
*
PPSI_NO_DIAG (see diag/Makefile)
*
Note that by building with PPSI_NO_DIAG (see diag/Makefile) no message
*
at all is there (and it can save quite some binary space).
*/
#define PP_FSM(ppi,seq,len) pp_diag_fsm(ppi,seq,len)
#define PP_ERR(ppi,err) if pp_diag_error(ppi,err)
#define PP_ERR2(ppi,s1,s2) if pp_diag_error_str2(ppi,s1,s2)
#define PP_FATAL(ppi,s1,s2) if pp_diag_fatal(ppi,s1,s2)
/*
* Then we have a verbosity argument, that can be changed at run time
* or not. If it can be changed, stuff works like this, depending on
...
...
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