mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

zunda

Cのstatic逆だった

$ cat main.c
<stdio.h>

extern char *name;

int
main(void)
{
printf("Hello, %s!\n", name);
return 0;
}
$ cat name.c
char *name = "world";
$ gcc main.c name.c && ./a.out
Hello, world!

staticをつけると

$ cat name.c
static char *name = "world";
$ gcc main.c name.c && ./a.out
Undefined symbols for architecture x86_64:
"_name", referenced from:
_main in main-653948.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)