@@ -44,7 +44,7 @@ typedef NS_ENUM(NSInteger, BNCLogLevel) {
4444/* !
4545* @return Returns the current log severity display level.
4646*/
47- extern BNCLogLevel BNCLogDisplayLevel ();
47+ extern BNCLogLevel BNCLogDisplayLevel (void );
4848
4949/* !
5050* @param level Sets the current display level for log messages.
@@ -67,14 +67,14 @@ extern void BNCLogSetSynchronizeMessages(BOOL enable);
6767
6868/* !@return Returns YES if log messages are synchronized between threads.
6969*/
70- extern BOOL BNCLogSynchronizeMessages ();
70+ extern BOOL BNCLogSynchronizeMessages (void );
7171
7272
7373#pragma mark - Programmatic Breakpoints
7474
7575
7676// /@return Returns 'YES' if programmatic breakpoints are enabled.
77- extern BOOL BNCLogBreakPointsAreEnabled ();
77+ extern BOOL BNCLogBreakPointsAreEnabled (void );
7878
7979// /@param enabled Sets programmatic breakpoints enabled or disabled.
8080extern void BNCLogSetBreakPointsEnabled (BOOL enabled);
@@ -96,10 +96,10 @@ extern void BNCLogFunctionOutputToStdErr(NSDate*_Nonnull timestamp, BNCLogLevel
9696extern void BNCLogSetOutputFunction (BNCLogOutputFunctionPtr _Nullable functionPtr);
9797
9898// /@return Returns the current logging function.
99- extern BNCLogOutputFunctionPtr _Nullable BNCLogOutputFunction ();
99+ extern BNCLogOutputFunctionPtr _Nullable BNCLogOutputFunction (void );
100100
101101// / If a predefined log handler is being used, the function closes the output file.
102- extern void BNCLogCloseLogFile ();
102+ extern void BNCLogCloseLogFile (void );
103103
104104// /@param URL Sets the log output function to a function that writes messages to the file at URL.
105105extern void BNCLogSetOutputToURL (NSURL *_Nullable URL);
@@ -112,15 +112,15 @@ extern void BNCLogSetOutputToURLRecordWrap(NSURL *_Nullable URL, long maxRecords
112112// /@param maxBytes Wraps the file at `maxBytes` bytes. Must be an even number of bytes.
113113extern void BNCLogSetOutputToURLByteWrap (NSURL *_Nullable URL, long maxBytes);
114114
115- typedef void (*BNCLogFlushFunctionPtr)();
115+ typedef void (*BNCLogFlushFunctionPtr)(void );
116116
117117// /@param flushFunction The logging functions use `flushFunction` to flush the outstanding log
118118// / messages to the output function. For instance, this function may call
119119// / `fsync` to assure that the log messages are written to disk.
120120extern void BNCLogSetFlushFunction (BNCLogFlushFunctionPtr _Nullable flushFunction);
121121
122122// /@return Returns the current flush function.
123- extern BNCLogFlushFunctionPtr _Nullable BNCLogFlushFunction ();
123+ extern BNCLogFlushFunctionPtr _Nullable BNCLogFlushFunction (void );
124124
125125
126126#pragma mark - BNCLogWriteMessage
@@ -145,7 +145,7 @@ extern void BNCLogWriteMessage(
145145
146146// / This function synchronizes all outstanding log messages and writes them to the logging function
147147// / set by BNCLogSetOutputFunction.
148- extern void BNCLogFlushMessages ();
148+ extern void BNCLogFlushMessages (void );
149149
150150
151151#pragma mark - Logging
0 commit comments