Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
Fix a compiler warning in OWSLogs.h
Browse files Browse the repository at this point in the history
"A function declaration without a prototype is deprecated in all versions of C"
  • Loading branch information
igor-signal authored and max-signal committed Apr 12, 2023
1 parent 75f6197 commit c31350f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions SignalCoreKit/src/OWSLogs.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ static const NSUInteger ddLogLevel = DDLogLevelAll;
static const NSUInteger ddLogLevel = DDLogLevelInfo;
#endif

static inline BOOL ShouldLogVerbose()
static inline BOOL ShouldLogVerbose(void)
{
return ddLogLevel >= DDLogLevelVerbose;
}

static inline BOOL ShouldLogDebug()
static inline BOOL ShouldLogDebug(void)
{
return ddLogLevel >= DDLogLevelDebug;
}

static inline BOOL ShouldLogInfo()
static inline BOOL ShouldLogInfo(void)
{
return ddLogLevel >= DDLogLevelInfo;
}

static inline BOOL ShouldLogWarning()
static inline BOOL ShouldLogWarning(void)
{
return ddLogLevel >= DDLogLevelWarning;
}

static inline BOOL ShouldLogError()
static inline BOOL ShouldLogError(void)
{
return ddLogLevel >= DDLogLevelError;
}
Expand Down

0 comments on commit c31350f

Please sign in to comment.