OSDN Git Service

Workaround libabigail weirness.
authorPeter Jones <pjones@redhat.com>
Wed, 5 Dec 2018 16:16:28 +0000 (11:16 -0500)
committerPeter Jones <pjones@redhat.com>
Wed, 5 Dec 2018 16:16:53 +0000 (11:16 -0500)
As per usual, two runs of libabigail produce two different results :/

This removes the extra set of arguments it generated from
efidp_make_file() in efivar-36, because abicheck is complaining about
them going away, even though they're duplicates *and* other functions
have the same problem in the .abixml file.

I really wish this worked better.

Signed-off-by: Peter Jones <pjones@redhat.com>
src/libefivar.abixml

index 095533f..1a075f2 100644 (file)
       <parameter type-id='type-id-32' name='buf'/>
       <parameter type-id='type-id-61' name='size'/>
       <parameter type-id='type-id-46' name='filepath'/>
-      <parameter type-id='type-id-32' name='buf'/>
-      <parameter type-id='type-id-61' name='size'/>
-      <parameter type-id='type-id-46' name='filepath'/>
       <return type-id='type-id-61'/>
     </function-decl>
     <function-decl name='efidp_make_edd10' mangled-name='efidp_make_edd10' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='efidp_make_edd10@@libefivar.so.0'>