Mac pragma tuneup
The Macintosh CodeWarrior port does not need nor support the undefined pragmas.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user