History

Small updates

Allow 'make speedtest' in tests directory Fix compiler warning tccpp.c

herman ten brugge committed 11 months ago

Commit 34eed881 parent 3c18df62 files · +4 −3Browse files

Showing the changes to examples (1 of 2 files). Show all

Unified · Split

examples/ex3.c+2−2
@@ -1,6 +1,6 @@
1#include <tcclib.h>1#include <tcclib.h>
2 2
3int fib(n)3int fib(int n)
4{4{
5 if (n <= 2)5 if (n <= 2)
6 return 1;6 return 1;
@@ -18,6 +18,6 @@ int main(int argc, char **argv) · 11 unmodified lines
18 }18 }
19 19
20 n = atoi(argv[1]);20 n = atoi(argv[1]);
21 printf("fib(%d) = %d\n", n, fib(n, 2));21 printf("fib(%d) = %d\n", n, fib(n));
22 return 0;22 return 0;
23}23}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t