diff options
| author | 2023-06-05 10:28:57 +0200 | |
|---|---|---|
| committer | 2023-06-05 10:58:35 +0200 | |
| commit | ed47a54958f5bd48dc364d4a0f77f778768696bb (patch) | |
| tree | c68f7b1426c198964b37238c6195f0569a15ab2b /test2.c | |
| parent | efc0cf8039cbff5e0f0d52fd7414c7186129b6ac (diff) | |
strlits
Diffstat (limited to 'test2.c')
| -rw-r--r-- | test2.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test2.c b/test2.c deleted file mode 100644 index 7d39164..0000000 --- a/test2.c +++ /dev/null @@ -1,23 +0,0 @@ -typedef struct v2d { double x,y; } v2d; - - - -void addp(v2d *a, const v2d *b) -{ - a->x += b->x; - a->y += b->y; -} - -v2d add(v2d a, v2d b) -{ - addp(&a, &b); - return a; -} - -short s(int a, int b) { - return a + b; -} - -int i() { - return s(1,2); -} |