1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Set abitag __unused.

This commit is contained in:
David E. O'Brien 2003-05-04 18:33:26 +00:00
parent 64ff745cf5
commit bbe4999bd1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114666

View File

@ -21,10 +21,11 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $FreeBSD$
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#define ABI_VENDOR "FreeBSD" #define ABI_VENDOR "FreeBSD"
@ -42,7 +43,7 @@ static const struct {
int32_t type; int32_t type;
char name[sizeof ABI_VENDOR]; char name[sizeof ABI_VENDOR];
int32_t desc; int32_t desc;
} abitag __attribute__ ((section (ABI_SECTION))) = { } abitag __attribute__ ((section (ABI_SECTION))) __unused = {
sizeof ABI_VENDOR, sizeof ABI_VENDOR,
sizeof(int32_t), sizeof(int32_t),
ABI_NOTETYPE, ABI_NOTETYPE,