aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/56 dedup compiler libs/liba/liba.c
blob: 962d47f30cd33d7eb3e520c3425c36b0b4f08a84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "liba.h"

static int val;

void liba_add(int x)
{
  val += x;
}

void liba_sub(int x)
{
  val -= x;
}

int liba_get(void)
{
  return val;
}