summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-04 18:33:26 +0000
committerobrien <obrien@FreeBSD.org>2003-05-04 18:33:26 +0000
commit3accc3f1ed83d45b2d2ee6641c68e7c83b034b95 (patch)
tree9f678df278f508de854d7eec6a72a826f02ee29f
parente39ff773309616a7488a10c27e70a8374d902176 (diff)
downloadFreeBSD-src-3accc3f1ed83d45b2d2ee6641c68e7c83b034b95.zip
FreeBSD-src-3accc3f1ed83d45b2d2ee6641c68e7c83b034b95.tar.gz
Set abitag __unused.
-rw-r--r--lib/csu/common/crtbrand.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/csu/common/crtbrand.c b/lib/csu/common/crtbrand.c
index 4c9afca..9405f91 100644
--- a/lib/csu/common/crtbrand.c
+++ b/lib/csu/common/crtbrand.c
@@ -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,
OpenPOWER on IntegriCloud