diff options
| author | 2017-01-14 19:55:43 +0000 | |
|---|---|---|
| committer | 2017-01-14 19:55:43 +0000 | |
| commit | bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch) | |
| tree | 309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/tools/llvm-c-test/calc.c | |
| parent | killp -a should not kill the window if only one pane. (diff) | |
| download | wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip | |
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/tools/llvm-c-test/calc.c')
| -rw-r--r-- | gnu/llvm/tools/llvm-c-test/calc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/llvm/tools/llvm-c-test/calc.c b/gnu/llvm/tools/llvm-c-test/calc.c index 3119ccf8e9a..4c273cbf70a 100644 --- a/gnu/llvm/tools/llvm-c-test/calc.c +++ b/gnu/llvm/tools/llvm-c-test/calc.c @@ -14,7 +14,6 @@ \*===----------------------------------------------------------------------===*/ #include "llvm-c-test.h" -#include "llvm-c/Core.h" #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -140,9 +139,9 @@ static void handle_line(char **tokens, int ntokens) { LLVMDisposeModule(M); } -int calc(void) { +int llvm_calc(void) { - tokenize_stdin(handle_line); + llvm_tokenize_stdin(handle_line); return 0; } |
