aboutsummaryrefslogtreecommitdiff
path: root/04_dynld_nostd/libgreet.c
blob: 439e236bd3a558bc79dafa1ed536c993061b8d0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2020 Johannes Stoelp

int gCalled = 0;

const char* get_greet() {
    ++gCalled;
    return "Hello from libgreet.so!";
}

const char* get_greet2() {
    ++gCalled;
    return "Hello 2 from libgreet.so!";
}