Skip to content

Commit

Permalink
Merge pull request #1648 from ably/replace-include-with-import
Browse files Browse the repository at this point in the history
Replace usage of `#include` with `#import`
  • Loading branch information
lawrence-forooghian authored Apr 12, 2023
2 parents 72fed82 + 5a439ac commit 876fbb8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Source/ARTTime.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "ARTTime.h"
#include <sys/types.h>
#include <sys/sysctl.h>
#import <sys/types.h>
#import <sys/sysctl.h>

@implementation ARTTime

Expand Down
4 changes: 2 additions & 2 deletions Source/ARTTokenParams.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#import "ARTTokenParams+Private.h"

#include <CommonCrypto/CommonDigest.h>
#include <CommonCrypto/CommonHMAC.h>
#import <CommonCrypto/CommonDigest.h>
#import <CommonCrypto/CommonHMAC.h>

#import "ARTDefault.h"
#import "ARTEncoder.h"
Expand Down
4 changes: 2 additions & 2 deletions Source/PrivateHeaders/Ably/ARTEventEmitter+Private.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <Ably/ARTEventEmitter.h>
#include <Ably/ARTRest+Private.h>
#import <Ably/ARTEventEmitter.h>
#import <Ably/ARTRest+Private.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion Source/PrivateHeaders/Ably/ARTFallback+Private.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <Ably/ARTFallback.h>
#import <Ably/ARTFallback.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 3 additions & 3 deletions Test/AblyTests-Bridging-Header.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#include <asl.h>
#include "NSObject+TestSuite.h"
#include "ARTGCD.h"
#import <asl.h>
#import "NSObject+TestSuite.h"
#import "ARTGCD.h"

0 comments on commit 876fbb8

Please sign in to comment.