Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GCC declaration-after-statement error
Since upgrading to Linux v5.18 in Nixpkgs, we've been seeing an "ISO C90 forbids mixed declarations and code" error from GCC. This patch fixes it by initializing regs as part of its declaration, meaning hook will no longer be declared after a statement. Signed-off-by: Alyssa Ross <[email protected]>
- Loading branch information