diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-12-07 05:31:38 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-12-07 05:31:38 +0000 |
commit | ac759adb43ee9f84892eb0dce376fee7d074351c (patch) | |
tree | 0ffde9146160d3e281d5ba7e049260147e4e9f83 /src/or/main.c | |
parent | c3c6873945b0722c4f95f9d0265ddd51e269c645 (diff) | |
download | tor-ac759adb43ee9f84892eb0dce376fee7d074351c.tar tor-ac759adb43ee9f84892eb0dce376fee7d074351c.tar.gz |
Make unit tests work on win32
svn:r3094
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 58d7efdb3..33383a4c5 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1011,7 +1011,7 @@ static void dumpstats(int severity) { /** Called before we make any calls to network-related functions. * (Some operating systems require their network libraries to be * initialized.) */ -static int network_init(void) +int network_init(void) { #ifdef MS_WINDOWS /* This silly exercise is necessary before windows will allow gethostbyname to work. |