mirror of
https://github.com/NixOS/nix
synced 2025-07-05 08:11:47 +02:00
* Minor cleanups.
This commit is contained in:
parent
692b562342
commit
2b07b0e7eb
2 changed files with 5 additions and 7 deletions
|
@ -60,7 +60,7 @@ static ArgType argType = atpUnknown;
|
|||
|
||||
/* Parse the `-f' / `-h' / `-n' flags, i.e., the type of value
|
||||
arguments. These flags are deleted from the referenced vector. */
|
||||
void getArgType(Strings & flags)
|
||||
static void getArgType(Strings & flags)
|
||||
{
|
||||
for (Strings::iterator it = flags.begin();
|
||||
it != flags.end(); )
|
||||
|
@ -215,7 +215,7 @@ static void opInit(Strings opFlags, Strings opArgs)
|
|||
|
||||
/* Initialize, process arguments, and dispatch to the right
|
||||
operation. */
|
||||
void run(int argc, char * * argv)
|
||||
static void run(int argc, char * * argv)
|
||||
{
|
||||
/* Setup Nix paths. */
|
||||
nixValues = NIX_VALUES_DIR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue