Mac pragma tuneup

The Macintosh CodeWarrior port does not need nor support
the undefined pragmas.
This commit is contained in:
kmhugo
2002-02-02 05:40:40 +00:00
parent 9a9cf8fca8
commit b22af87dea
3 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ int
experience(mtmp, nk) /* return # of exp points for mtmp after nk killed */
register struct monst *mtmp;
register int nk;
#if (defined(macintosh) && (defined(__SC__) || defined(__MRC__))) || defined(__MWERKS__)
#if defined(macintosh) && (defined(__SC__) || defined(__MRC__))
# pragma unused(nk)
#endif
{

View File

@@ -1004,7 +1004,7 @@ int retryct;
void
unlock_file(filename)
const char *filename;
#if (defined(macintosh) && (defined(__SC__) || defined(__MRC__))) || defined(__MWERKS__)
#if defined(macintosh) && (defined(__SC__) || defined(__MRC__))
# pragma unused(filename)
#endif
{

View File

@@ -465,7 +465,7 @@ STATIC_OVL int
restlevelfile(fd, ltmp)
register int fd;
xchar ltmp;
#if (defined(macintosh) && (defined(__SC__) || defined(__MRC__))) || defined(__MWERKS__)
#if defined(macintosh) && (defined(__SC__) || defined(__MRC__))
# pragma unused(fd)
#endif
{