Fixing warnings in public iOS SDK headers.

Building with the newly published cocoapod generated a few warnings,
which looked a bit bad.

Bug: webrtc:8831
Change-Id: I70c06930603b328e4d11c599a5b5dd77b45150c6
Reviewed-on: https://webrtc-review.googlesource.com/46163
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Peter Hanspers <peterhanspers@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21846}
This commit is contained in:
Peter Hanspers
2018-02-01 13:33:18 +01:00
committed by Commit Bot
parent 56fa050125
commit 28dbf97242
8 changed files with 17 additions and 16 deletions

View File

@ -13,13 +13,13 @@
#include "rtc_base/checks.h"
#include "rtc_base/ssladapter.h"
BOOL RTCInitializeSSL() {
BOOL RTCInitializeSSL(void) {
BOOL initialized = rtc::InitializeSSL();
RTC_DCHECK(initialized);
return initialized;
}
BOOL RTCCleanupSSL() {
BOOL RTCCleanupSSL(void) {
BOOL cleanedUp = rtc::CleanupSSL();
RTC_DCHECK(cleanedUp);
return cleanedUp;