Skip to content

style(app): group app.c includes, drop duplicates; space out assets.c - #363

Merged
gg582 merged 2 commits into
devfrom
style/app-assets-cleanup
Oct 12, 2026
Merged

gg582 merged 2 commits into
devfrom
style/app-assets-cleanup

Conversation

@gg582

@gg582 gg582 commented Oct 12, 2026

Copy link
Copy Markdown
Member

Style only, no behavior change.

  • app.c: includes grouped by origin with a comment per group; duplicate <cwist/sys/app/app.h> and <cwist/net/http/https.h> removed; child_idx moved inside the #ifndef __wasi__ block that sets it; (d != 0).
  • assets.c: blank lines between steps; one condition per line in name_is_valid and cwist_app_asset_add.

Checked: WERROR=1 build, test_assets, test_listen_ex, test_html_response, test_static_and_range, Emscripten make wasm, wasip2-smoke.

gg582 and others added 2 commits October 12, 2026 19:30
app.c: group the includes by origin with a comment per group, and drop the
duplicate <cwist/sys/app/app.h> and <cwist/net/http/https.h>. child_idx moves
inside the #ifndef __wasi__ block that sets it. assets.c: blank lines between
steps and one condition per line in name_is_valid and cwist_app_asset_add.
No behavior change.
@gg582

gg582 commented Oct 12, 2026

Copy link
Copy Markdown
Member Author

Deslopifying

@gg582
gg582 merged commit 5094e21 into dev Oct 12, 2026
6 of 23 checks passed
@gg582
gg582 deleted the style/app-assets-cleanup branch October 13, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant