Set abitag __unused.
This commit is contained in:
parent
64ff745cf5
commit
bbe4999bd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114666
@ -21,10 +21,11 @@
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#define ABI_VENDOR "FreeBSD"
|
||||
@ -42,7 +43,7 @@ static const struct {
|
||||
int32_t type;
|
||||
char name[sizeof ABI_VENDOR];
|
||||
int32_t desc;
|
||||
} abitag __attribute__ ((section (ABI_SECTION))) = {
|
||||
} abitag __attribute__ ((section (ABI_SECTION))) __unused = {
|
||||
sizeof ABI_VENDOR,
|
||||
sizeof(int32_t),
|
||||
ABI_NOTETYPE,
|
||||
|
Loading…
Reference in New Issue
Block a user