From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id A9B083858CDA; Mon, 5 Sep 2022 13:02:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9B083858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662382940; bh=V7VAelR2g0aK8svQswmdf5pgAHLazhjaTzM9AzVB2mI=; h=From:To:Subject:Date:From; b=t4OdWcA/I3Qtv4C8alz78Bf6/QsSVlurD6uy2Scf48dV84iq8mDOCdAT5oOsPnDgN fznnlPwmp7hvGLrf39pJigYueHnrn/YbGT6VjvfVKsnaU5jRpZs+ytL8aTO6KDjmIg qCWysN/b1kb/s/qAkxe3faDFKNKTgA2ZPyPYayoA= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] elf.h: Remove duplicate definition of VER_FLG_WEAK X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: 45459476ecc8fe315734912baf7adf3551cff640 X-Git-Newrev: 29eb7961197bee68470730aecfdda4d0e206812e Message-Id: <20220905130220.A9B083858CDA@sourceware.org> Date: Mon, 5 Sep 2022 13:02:20 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=29eb7961197bee68470730aecfdda4d0e206812e commit 29eb7961197bee68470730aecfdda4d0e206812e Author: Florian Weimer Date: Mon Sep 5 12:11:19 2022 +0200 elf.h: Remove duplicate definition of VER_FLG_WEAK This did not cause a warning before because the token sequence for the two definitions was identical. Reviewed-by: Adhemerval Zanella Diff: --- elf/elf.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/elf/elf.h b/elf/elf.h index 065deca83c..273305a7cd 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -1064,7 +1064,8 @@ typedef struct /* Legal values for vd_flags (version information flags). */ #define VER_FLG_BASE 0x1 /* Version definition of file itself */ -#define VER_FLG_WEAK 0x2 /* Weak version identifier */ +#define VER_FLG_WEAK 0x2 /* Weak version identifier. Also + used by vna_flags below. */ /* Versym symbol index values. */ #define VER_NDX_LOCAL 0 /* Symbol is local. */ @@ -1142,10 +1143,6 @@ typedef struct } Elf64_Vernaux; -/* Legal values for vna_flags. */ -#define VER_FLG_WEAK 0x2 /* Weak version identifier */ - - /* Auxiliary vector. */ /* This vector is normally only used by the program interpreter. The