UNUSED -> ATTRIBUTE_UNUSED (follows /usr/include/ansidecl.h)

This commit is contained in:
Jaroslav Kysela 2000-08-06 12:23:28 +00:00
parent f981892e3a
commit b99128d8de
13 changed files with 51 additions and 49 deletions

View file

@ -9,7 +9,7 @@
extern "C" {
#endif
const char *snd_strerror( int errnum );
const char *snd_strerror(int errnum);
#ifdef __cplusplus
}

View file

@ -1,5 +1,3 @@
#define UNUSED __attribute__ ((unused))
/*
*
*/

View file

@ -29,3 +29,7 @@
#include <stdlib.h>
#include <fcntl.h>
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#endif