--- src/usr.bin/make/shell.c 2005/06/16 23:11:42 1.20 +++ src/usr.bin/make/shell.c 2005/06/17 07:50:49 1.21 @@ -227,12 +227,6 @@ ShellParseSpec(const char *spec, Boolean return (sh); } -void -Shell_Init(void) -{ - commandShell = ShellMatch(DEFSHELLNAME); -} - /** * Find a matching shell in 'shells' given its final component. * @@ -342,6 +336,12 @@ ShellMatch(const char name[]) return (shell); } +void +Shell_Init(void) +{ + commandShell = ShellMatch(DEFSHELLNAME); +} + /** * Given the line following a .SHELL target, parse the * line as a shell specification. Returns FALSE if the