git: test/nvmm/demo: Various cleanups to 'smallkern'
Aaron LI
aly at crater.dragonflybsd.org
Tue Jul 20 16:30:26 PDT 2021
commit aaa1e810e6b6a6e4cab5a739def087631750de17
Author: Aaron LI <aly at aaronly.me>
Date: Tue Jun 8 12:47:45 2021 +0800
test/nvmm/demo: Various cleanups to 'smallkern'
* Remove unused variables, symbols, function prototypes and functions.
* Move function prototypes and 'extern' declarations to header files.
* Add 'static' qualifier for file-local variables.
* Add inclusion guard to header files.
* Various minor adjustments.
Summary of changes:
test/nvmm/demo/smallkern/Makefile | 2 +-
test/nvmm/demo/smallkern/console.c | 2 --
test/nvmm/demo/smallkern/locore.S | 19 ++-------------
test/nvmm/demo/smallkern/main.c | 31 +++++-------------------
test/nvmm/demo/smallkern/pdir.h | 18 +++++++++-----
test/nvmm/demo/smallkern/smallkern.h | 47 +++++++++++++++++++++++++-----------
6 files changed, 54 insertions(+), 65 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aaa1e810e6b6a6e4cab5a739def087631750de17
--
DragonFly BSD source repository
More information about the Commits
mailing list