Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compiler errors/warnings for NetBSD/arm. (#102)
* Fix compilation error for NetBSD/arm. The prototype for `get_cpu_speed()` had an incompatible return type as defined in `c/netbsd.c`. This makes it compatible. * Fix compilation warnings for NetBSD/arm. The scope of local variables was moved into the conditional sections to eliminate compilation warnings. * Add ARM section for NetBSD. `get_cpu_speed()` now has a section specific to NetBSD/arm targets. Previously it would default to 1 Ghz.
- Loading branch information