Apply clang-format for core/shared and product-mini files (#785)

Apply clang-format for core/shared and product-mini files
This commit is contained in:
Wenyong Huang
2021-10-14 09:12:07 +08:00
committed by GitHub
parent fb4afc7ca4
commit 17f62ad472
107 changed files with 3436 additions and 2898 deletions

View File

@ -5,9 +5,11 @@
#include "stdio.h"
void print_line(char* str);
void
print_line(char *str);
int main()
int
main()
{
print_line("Hello World!");
print_line("Wasm Micro Runtime");

View File

@ -6,7 +6,8 @@
#include "stdio.h"
#include "string.h"
void print_line(char* str)
void
print_line(char *str)
{
printf("%s\n", str);
}

View File

@ -6,7 +6,8 @@
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
int
main(int argc, char **argv)
{
char *buf;