Remove pascal declaration for CreateAliasFile (not really needed anyway).

This commit is contained in:
2021-04-14 04:24:32 +01:00
parent 7f9f03f00a
commit 653ad9d36f
2 changed files with 2 additions and 3 deletions

View File

@@ -42,9 +42,8 @@ Copyright (C) 2011-2021 Natalia Portillo
#include "links.h" #include "links.h"
#include "macos.h" #include "macos.h"
static pascal OSErr CreateAliasFile(FSSpec* targetFile, FSSpec* aliasFile, OSType fileCreator, OSType fileType) static OSErr CreateAliasFile(FSSpec* targetFile, FSSpec* aliasFile, OSType fileCreator, OSType fileType)
{ {
short rsrcID;
short aliasRefnum; short aliasRefnum;
FInfo finf; FInfo finf;
OSErr err; OSErr err;

View File

@@ -31,7 +31,7 @@ Copyright (C) 2011-2021 Natalia Portillo
#include <Files.h> #include <Files.h>
static pascal OSErr CreateAliasFile(FSSpec* targetFile, FSSpec* aliasFile, OSType fileCreator, OSType fileType); static OSErr CreateAliasFile(FSSpec* targetFile, FSSpec* aliasFile, OSType fileCreator, OSType fileType);
const char* targetText = "This file is the target of an alias.\r"; const char* targetText = "This file is the target of an alias.\r";