tor/src/or/tor_main.c
Nick Mathewson bfac679cd4 A hack I've been wanting for a while: when building a -dev version
from an SVN repository, use the current svn revision in the platform
string and in the output of --version.



svn:r9976
2007-04-16 23:56:31 +00:00

29 lines
603 B
C

/* Copyright 2001-2004 Roger Dingledine.
* Copyright 2004-2007 Roger Dingledine, Nick Mathewson. */
/* See LICENSE for licensing information */
/* $Id$ */
const char tor_main_c_id[] =
"$Id$";
const char tor_svn_revision[] =
#include "micro-revision.i"
"";
/**
* \file tor_main.c
* \brief Stub module containing a main() function. Allows unit
* test binary to link against main.c.
**/
int tor_main(int argc, char *argv[]);
/** We keep main() in a separate file so that our unit tests can use
* functions from main.c)
*/
int
main(int argc, char *argv[])
{
return tor_main(argc, argv);
}