mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'tor-github/pr/1329'
This commit is contained in:
@@ -15,9 +15,7 @@ import time
|
||||
|
||||
def topdir_file(name):
|
||||
"""Strip opening "src" from a filename"""
|
||||
if name.startswith("src/"):
|
||||
name = name[4:]
|
||||
return name
|
||||
return os.path.relpath(name, './src')
|
||||
|
||||
def guard_macro(name):
|
||||
"""Return the guard macro that should be used for the header file 'name'.
|
||||
|
||||
Reference in New Issue
Block a user