Simplify the math to round up to the next multiple of some value.
[tor/rransom.git] / src / or / tor_main.c
blob137da02c412f13d02126905eee4a839e90a6347c
1 /* Copyright 2001-2004 Roger Dingledine.
2 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
3 * Copyright (c) 2007-2009, The Tor Project, Inc. */
4 /* See LICENSE for licensing information */
6 /** String describing which Tor subversion repository version the source was
7 * built from. This string is generated by a bit of shell kludging int
8 * src/or/Makefile.am, and is usually right.
9 */
10 const char tor_svn_revision[] =
11 #ifndef _MSC_VER
12 #include "micro-revision.i"
13 #endif
14 "";
16 /**
17 * \file tor_main.c
18 * \brief Stub module containing a main() function. Allows unit
19 * test binary to link against main.c.
20 **/
22 int tor_main(int argc, char *argv[]);
24 /** We keep main() in a separate file so that our unit tests can use
25 * functions from main.c)
27 int
28 main(int argc, char *argv[])
30 return tor_main(argc, argv);