Skip to content

Commit 92935d8

Browse files
committed
peview: 3rd attempt fixing build warning that doesn't happen on my machine
1 parent 4fcac17 commit 92935d8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tools/peview/tlsh/tlsh_wrapper.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
* along with Process Hacker. If not, see <http://www.gnu.org/licenses/>.
2121
*/
2222

23-
#include <ph.h>
23+
#include <phbase.h>
2424
#include "tlsh.h"
2525
#include "tlsh_wrapper.h"
2626

27+
EXTERN_C
2728
BOOLEAN
2829
NTAPI
2930
PvGetTlshBufferHash(

tools/peview/tlsh/tlsh_wrapper.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,11 @@
2222

2323
#pragma once
2424

25-
EXTERN_C_START
26-
25+
EXTERN_C
2726
BOOLEAN
2827
NTAPI
2928
PvGetTlshBufferHash(
3029
_In_ PVOID Buffer,
3130
_In_ SIZE_T BufferLength,
3231
_Out_ PPH_STRING* HashResult
3332
);
34-
35-
EXTERN_C_END

0 commit comments

Comments
 (0)