aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/call-stack.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-11-05 14:50:38 +0100
committerMattias Andrée <maandree@kth.se>2017-11-05 14:50:38 +0100
commit9ed21175ac00f57f6abf3da84e82098e68fa3e94 (patch)
tree6235ac14c78fe0bbc074eb5146a641ba0e08fb5f /src/mds-kbdc/call-stack.h
parentUpdate year and e-mail address (diff)
downloadmds-9ed21175ac00f57f6abf3da84e82098e68fa3e94.tar.gz
mds-9ed21175ac00f57f6abf3da84e82098e68fa3e94.tar.bz2
mds-9ed21175ac00f57f6abf3da84e82098e68fa3e94.tar.xz
Work on changing style
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/mds-kbdc/call-stack.h')
-rw-r--r--src/mds-kbdc/call-stack.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mds-kbdc/call-stack.h b/src/mds-kbdc/call-stack.h
index db7a18a..94b6dc8 100644
--- a/src/mds-kbdc/call-stack.h
+++ b/src/mds-kbdc/call-stack.h
@@ -27,8 +27,8 @@
/**
* Add “called from here”-notes
*/
-#define DUMP_CALL_STACK \
- fail_if (mds_kbdc_call_stack_dump())
+#define DUMP_CALL_STACK\
+ fail_if (mds_kbdc_call_stack_dump())
@@ -44,7 +44,7 @@ int mds_kbdc_call_stack_dump(void);
*
* @param result The `result` parameter of root procedure that requires the call-stack
*/
-void mds_kbdc_call_stack_begin(mds_kbdc_parsed_t* restrict result);
+void mds_kbdc_call_stack_begin(mds_kbdc_parsed_t *restrict result);
/**
* Cleanup after usage of call-stacks
@@ -59,7 +59,7 @@ void mds_kbdc_call_stack_end(void);
* @param end The position of the line of the tree node where the call end
* @return Zero on success, -1 on error
*/
-int mds_kbdc_call_stack_push(const mds_kbdc_tree_t* restrict tree, size_t start, size_t end);
+int mds_kbdc_call_stack_push(const mds_kbdc_tree_t *restrict tree, size_t start, size_t end);
/**
* Undo the lasted not-undone call to `mds_kbdc_call_stack_push`
@@ -71,4 +71,3 @@ void mds_kbdc_call_stack_pop(void);
#endif
-