mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-10-16 13:02:32 +00:00
3ded9ece83
Apply clang format for c source files under samples folder
16 lines
273 B
C
16 lines
273 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
*/
|
|
|
|
int
|
|
sum(int start, int length)
|
|
{
|
|
int sum = 0, i;
|
|
|
|
for (i = start; i < start + length; i++) {
|
|
sum += i;
|
|
}
|
|
|
|
return sum;
|
|
} |