supranational / blst

Multilingual BLS12-381 signature library
Apache License 2.0
467 stars 177 forks source link

Missing void: allow compiling with -Wstrict-prototypes #152

Closed dannywillems closed 1 year ago

dot-asm commented 1 year ago

I'm trying to remember if there was a reason for avoiding void in empty declaration... I'll do some more introspection before merging this. Thanks for the report!

dot-asm commented 1 year ago

The patch failed to apply for some reason. You took rather old commit as a base, but the more recent changes to blst.h weren't that radical, it could have applied. But it didn't. So I had to retype it and even cover blst_aux.h in f4a7953f36badafa5fa94866d98fc887abd7bb44.