- Move build output from `./srs-proxy` to `bin/srs-proxy` following Go project conventions, updating Makefile, .gitignore, and all documentation references - Replace third-party `godotenv` dependency with a custom `.env` parser that supports comments, `export` prefix, quoted values, escape sequences, and inline comments — with full unit tests - Remove `ignore-worklog.md` and update `README.md` with skill-based AI prompts - Bump copyright year from 2025 to 2026 across all source files --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
505 B
C
36 lines
505 B
C
/* SPDX-License-Identifier: MIT */
|
|
/* Copyright (c) 2026 Winlin */
|
|
|
|
void foo() {
|
|
}
|
|
|
|
void foo2(char a) {
|
|
}
|
|
|
|
void foo3(int a) {
|
|
}
|
|
|
|
void foo4(long a) {
|
|
}
|
|
|
|
void foo5(long long a) {
|
|
}
|
|
|
|
long foo6(long a) {
|
|
return a + 1;
|
|
}
|
|
|
|
// Note: Use b *main to set to the first instruction of main,
|
|
// see https://stackoverflow.com/questions/40960758/break-main-vs-break-main-in-gdb
|
|
int main(int argc, char** argv)
|
|
{
|
|
foo();
|
|
foo2('s');
|
|
foo3(0x7);
|
|
foo4(0x7);
|
|
foo5(0x7);
|
|
foo6(0x7);
|
|
return 0;
|
|
}
|
|
|