Skip to content
Snippets Groups Projects
Commit 4fbdf382 authored by benjamin.franksen's avatar benjamin.franksen
Browse files

test: removed "function" keyword from funcdef.st

parent 83518f9a
No related branches found
No related tags found
No related merge requests found
...@@ -15,18 +15,18 @@ ss simple { ...@@ -15,18 +15,18 @@ ss simple {
} }
} }
function void *f1(void) void *f1(void)
{ {
return 0; return 0;
} }
function void *f2(void *x, double **d) void *f2(void *x, double **d)
{ {
void *(*f)(void) = (void *(*)(void))x; void *(*f)(void) = (void *(*)(void))x;
return f(); return f();
} }
function void pvSetX(int val) void pvSetX(int val)
{ {
pvPut(x,val); pvPut(x,val);
printf("x=%d, val=%d\n", x, val); printf("x=%d, val=%d\n", x, val);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment