Use __attribute ((unused)) instead of -Wno-unused-parameter

git-svn-id: svn://svn.cc65.org/cc65/trunk@988 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-30 22:19:39 +00:00
parent 453a8b704f
commit 91dac51780
13 changed files with 125 additions and 103 deletions

View File

@@ -38,18 +38,22 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
/* common */
#include "attrib.h"
/* cl65 */
#include "error.h"
/*****************************************************************************/
/* Code */
/* Code */
/*****************************************************************************/
int spawnvp (int Mode, const char* File, char* const argv [])
int spawnvp (int Mode attribute ((unused)), const char* File, char* const argv [])
/* Execute the given program searching and wait til it terminates. The Mode
* argument is ignored (compatibility only). The result of the function is
* the return code of the program. The function will terminate the program