pam-extension: Avoid gnu-variable-sized-type-not-at-end warning
I was running scan-build on this code and clang warns about this:
pam-extensions/gdm-choice-list-pam-extension.h:36:32: error:
field 'header' with variable sized type 'GdmPamExtensionMessage' not at
the end of a struct or class is a GNU extension
[-Werror,-Wgnu-variable-sized-type-not-at-end]
So just use a pointer to make this clearer
As per this, handle few more scan-build warnings. Most of issues it shows are false-negatives though, so I don't think it's needed to address them.
Edited by Marco Trevisan