Skip to content

Commit 25ed6e9

Browse files
committed
Rm unneeded imports
1 parent 91c5a10 commit 25ed6e9

6 files changed

Lines changed: 8 additions & 14 deletions

File tree

Application/PlatypusWindowController.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
@import Cocoa;
3232

3333
@class PlatypusAppSpec;
34-
@interface PlatypusWindowController : NSWindowController < NSApplicationDelegate,
35-
NSMenuDelegate,
36-
NSMenuItemValidation,
37-
NSWindowDelegate,
38-
NSOpenSavePanelDelegate >
34+
@interface PlatypusWindowController : NSWindowController <NSApplicationDelegate,
35+
NSMenuDelegate,
36+
NSMenuItemValidation,
37+
NSWindowDelegate,
38+
NSOpenSavePanelDelegate>
3939

4040
- (BOOL)verifyFieldContents;
4141
- (PlatypusAppSpec *)appSpecFromControls;

Application/Resources/Platypus-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
<key>CFBundleSignature</key>
446446
<string>????</string>
447447
<key>CFBundleVersion</key>
448-
<string>1293</string>
448+
<string>1294</string>
449449
<key>LSApplicationCategoryType</key>
450450
<string>public.app-category.developer-tools</string>
451451
<key>LSMinimumSystemVersion</key>

Application/SettingsController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*/
3030

3131
#import "SettingsController.h"
32-
#import <sys/stat.h>
32+
3333
#import "Alerts.h"
3434
#import "STPrivilegedTask.h"
3535
#import "Common.h"

CLT/platypus_clt.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#import <fcntl.h>
4141
#import <errno.h>
4242
#import <getopt.h>
43-
//#import <mach-o/getsect.h>
4443

4544
#import "Common.h"
4645
#import "PlatypusAppSpec.h"

ScriptExec/SEController.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
/* This is the source code to the main controller for the binary
3232
bundled into Platypus-generated applications */
3333

34-
#import <Security/Authorization.h>
35-
#import <sys/stat.h>
36-
3734
#import "Common.h"
3835
#import "SEController.h"
3936
#import "NSColor+HexTools.h"

Shared/STPrivilegedTask.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@
2626
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2727
*/
2828

29-
@import Security;
29+
#import "STPrivilegedTask.h"
3030

3131
#import <stdio.h>
3232
#import <unistd.h>
3333
#import <dlfcn.h>
3434

35-
#import "STPrivilegedTask.h"
36-
3735
// New error code denoting that AuthorizationExecuteWithPrivileges no longer exists
3836
OSStatus const errAuthorizationFnNoLongerExists = -70001;
3937

0 commit comments

Comments
 (0)