CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2014/03/10 15:40:58
Modified files: sbin/fdisk : cmd.c cmd.h misc.c misc.h user.c Log message: No need to pass the name of the command to the function that is implementing that command, a pointer to the command arguments is the only thing needed. No need to have a pointer to the command table in every command, since there is only one table. No need for shiney new stack space for every command name and arguments parsed, since we don't recurse we can just use static memory. No intentional functional change.