mirror of
https://github.com/NixOS/nix
synced 2025-07-04 15:31:47 +02:00
* Refactoring: move initialisation and argument parsing into a shared
file.
This commit is contained in:
parent
01b34fe584
commit
f826e432aa
5 changed files with 86 additions and 52 deletions
15
src/shared.hh
Normal file
15
src/shared.hh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef __SHARED_H
|
||||
#define __SHARED_H
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "util.hh"
|
||||
|
||||
|
||||
void run(Strings args);
|
||||
|
||||
|
||||
extern string programId;
|
||||
|
||||
|
||||
#endif /* !__SHARED_H */
|
Loading…
Add table
Add a link
Reference in a new issue