Skip to content

Commit

Permalink
Lint zig commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jan 25, 2024
1 parent 0b62d06 commit ab51496
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions source/ports/zig_port/src/tests/test.c
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
#include <stdio.h>
#include <stdbool.h>
#include <stdio.h>

bool ret_bool() {
return true;
bool ret_bool()
{
return true;
}

char sum_char(char a, char b) {
return a + b;
char sum_char(char a, char b)
{
return a + b;
}
short sum_short(short a, short b)
{
return a + b;
}
short sum_short(short a, short b) {
return a + b;
int sum_int(int a, int b)
{
return a + b;
}
int sum_int(int a, int b) {
return a + b;
long sum_long(long a, long b)
{
return a + b;
}
long sum_long(long a, long b) {
return a + b;
float sum_float(float a, float b)
{
return a + b;
}
float sum_float(float a, float b) {
return a + b;
double sum_double(double a, double b)
{
return a + b;
}
double sum_double(double a, double b) {
return a + b;
}

0 comments on commit ab51496

Please sign in to comment.