about summary refs log tree commit diff
path: root/src/nix.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-06-25T14·58+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-06-25T14·58+0000
commit2b07b0e7ebee69e6a64013dcdda363c393d3f4fc (patch)
tree5134fd8429ff51acef8bdfd86ac3764e8ba45001 /src/nix.cc
parent692b562342ac7ead43ef06497f6a8b4b6e724ae5 (diff)
* Minor cleanups.
Diffstat (limited to 'src/nix.cc')
-rw-r--r--src/nix.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix.cc b/src/nix.cc
index 9b21f0379cc5..fe9ab453b239 100644
--- a/src/nix.cc
+++ b/src/nix.cc
@@ -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;