mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
node: fix function signatures
This commit is contained in:
parent
3f9c58fbe5
commit
4027187d0c
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ struct node_type {
|
|||
* @retval 0 Success. Everything went well.
|
||||
* @retval <0 Error. Something went wrong.
|
||||
*/
|
||||
int (*start)();
|
||||
int (*start)(struct super_node *sn);
|
||||
|
||||
/** Global de-initialization per node type.
|
||||
*
|
||||
|
@ -84,7 +84,7 @@ struct node_type {
|
|||
* @retval 0 Success. Everything went well.
|
||||
* @retval <0 Error. Something went wrong.
|
||||
*/
|
||||
int (*init)();
|
||||
int (*init)(struct node *n);
|
||||
|
||||
/** Free memory of an instance of this type.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue