Fix an annoying rep violation bug
[tor.git] / src / or / tor_main.c
blob404cb34beb27163249c69da72a188e12333f02b0
1 /* Copyright 2001-2004 Roger Dingledine.
2 * Copyright 2004-2005 Roger Dingledine, Nick Mathewson. */
3 /* See LICENSE for licensing information */
4 /* $Id$ */
5 const char tor_main_c_id[] = "$Id$";
7 /**
8 * \file tor_main.c
9 * \brief Stub module containing a main() function. Allows unit
10 * test binary to link against main.c.
11 **/
13 int tor_main(int argc, char *argv[]);
15 /** We keep main() in a separate file so that our unit tests can use
16 * functions from main.c)
18 int
19 main(int argc, char *argv[])
21 return tor_main(argc, argv);