Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
8146ced2
Commit
8146ced2
authored
Sep 17, 2015
by
Jonathan Jenkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify deprecation macro
parent
d5d91fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
codes/model-net.h
codes/model-net.h
+4
-4
No files found.
codes/model-net.h
View file @
8146ced2
...
...
@@ -22,9 +22,9 @@
// simple deprecation attribute hacking
#if defined(__GNUC__) || defined(__GNUG__) || defined(__clang__)
#define DEPRECATED
(_msg)
__attribute__((deprecated))
#define DEPRECATED __attribute__((deprecated))
#else
#define DEPRECATED
(_msg)
#define DEPRECATED
#endif
/* HACK: there is currently no scheduling fidelity across multiple
...
...
@@ -269,7 +269,7 @@ int model_net_get_msg_sz(int net_id);
/* NOTE: we may end up needing additoinal arguments here to track state for
* reverse computation; add as needed
*/
DEPRECATED
(
"use model_net_event_rc2 instead, invalid RNG rollback can occur otherwise"
)
DEPRECATED
void
model_net_event_rc
(
int
net_id
,
tw_lp
*
sender
,
...
...
@@ -325,7 +325,7 @@ model_net_event_return model_net_pull_event_mctx(
void
const
*
self_event
,
tw_lp
*
sender
);
DEPRECATED
(
"use model_net_event_rc2 instead, invalid RNG rollback can occur otherwise"
)
DEPRECATED
void
model_net_pull_event_rc
(
int
net_id
,
tw_lp
*
sender
);
...
...
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