mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Use "STATIC" to export consdiff fns for testing
Previously test_consdiff.c just did #include "consdiff.c", which is not great style, and messes up coverage testing.
This commit is contained in:
@@ -2,10 +2,13 @@
|
||||
* Copyright (c) 2014, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
#define CONSDIFF_PRIVATE
|
||||
|
||||
#include "or.h"
|
||||
#include "test.h"
|
||||
|
||||
#include "consdiff.c"
|
||||
#include "consdiff.h"
|
||||
#include "routerparse.h"
|
||||
|
||||
#ifndef OP_EQ
|
||||
#define OP_EQ ==
|
||||
|
||||
Reference in New Issue
Block a user