# zig fmt: support bodyless function decls · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/a524e57090f3e3412292dbe6b3e4fe4fb7bad1ea)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: a524e57090f3e3412292dbe6b3e4fe4fb7bad1ea

Requested commit: a524e57090f3e3412292dbe6b3e4fe4fb7bad1ea

Commit: a524e57090f3e3412292dbe6b3e4fe4fb7bad1ea

Tree: bee166a7f12e3859152cf046ba5d636e01ca1f59

Author: Isaac Freund

Committer: Andrew Kelley

## Message

```
zig fmt: support bodyless function decls

extern function declarations do not have a body, so allow setting
the rhs for FnDecl to 0 to indicate this is the case.

```

## Parents

- [80b719d967d7241182e237b42ade1cd88494c8e8](https://git.cafe/gitcafe/zig/commit/80b719d967d7241182e237b42ade1cd88494c8e8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/a524e57090f3e3412292dbe6b3e4fe4fb7bad1ea?format=markdown)
