diff --git a/src/private-frameworks/PowerLog/src/PowerLog.m b/src/private-frameworks/PowerLog/src/PowerLog.m index 96feddb90..64e9f3914 100644 --- a/src/private-frameworks/PowerLog/src/PowerLog.m +++ b/src/private-frameworks/PowerLog/src/PowerLog.m @@ -239,7 +239,7 @@ void* PLLogRegisteredAggregateEvent(void) return NULL; } -void* PLLogRegisteredEvent(void) +void* PLLogRegisteredEvent(int client_id, CFStringRef event_name, CFDictionaryRef event_dictionary, void* last_parameter) { if (verbose) puts("STUB: PLLogRegisteredEvent called"); return NULL; @@ -251,7 +251,7 @@ void* PLLogRegisteredEventFilterByInterval(void) return NULL; } -void* PLLogTimeSensitiveRegisteredEvent(void) +void* PLLogTimeSensitiveRegisteredEvent(int client_id, CFStringRef event_name, CFDictionaryRef event_dictionary, void* last_parameter) { if (verbose) puts("STUB: PLLogTimeSensitiveRegisteredEvent called"); return NULL; @@ -281,7 +281,7 @@ void* PLShouldLogEvent(void) return NULL; } -void* PLShouldLogRegisteredEvent(void) +void* PLShouldLogRegisteredEvent(int client_id, CFStringRef event_name) { if (verbose) puts("STUB: PLShouldLogRegisteredEvent called"); return NULL; diff --git a/src/private-frameworks/ProtocolBuffer/src/ProtocolBuffer.m b/src/private-frameworks/ProtocolBuffer/src/ProtocolBuffer.m index 4574d3b66..8aaf41678 100644 --- a/src/private-frameworks/ProtocolBuffer/src/ProtocolBuffer.m +++ b/src/private-frameworks/ProtocolBuffer/src/ProtocolBuffer.m @@ -164,25 +164,25 @@ BOOL PBReaderPlaceMark(PBDataReader* reader, PBDataReaderMark* mark) uint16_t PBReaderReadBigEndianFixed16(PBDataReader* reader) { if (verbose) puts("STUB: PBReaderReadBigEndianFixed16 called"); - return; + return 0; } uint32_t PBReaderReadBigEndianFixed32(PBDataReader* reader) { if (verbose) puts("STUB: PBReaderReadBigEndianFixed32 called"); - return; + return 0; } uint64_t PBReaderReadBigEndianFixed64(PBDataReader* reader) { if (verbose) puts("STUB: PBReaderReadBigEndianFixed64 called"); - return; + return 0; } NSData* PBReaderReadData(PBDataReader* reader) { if (verbose) puts("STUB: PBReaderReadData called"); - return; + return NULL; } NSString* PBReaderReadString(PBDataReader* reader) @@ -194,10 +194,10 @@ NSString* PBReaderReadString(PBDataReader* reader) void* PBReaderReadVarIntBuf(PBDataReader* reader) { if (verbose) puts("STUB: PBReaderReadVarIntBuf called"); - return; + return NULL; } -void PBReaderRecallMark(PBDataReader* reader, PBDataReaderMark* mark); +void PBReaderRecallMark(PBDataReader* reader, PBDataReaderMark* mark) { if (verbose) puts("STUB: PBReaderRecallMark called"); return;