Skip to content
Snippets Groups Projects
  • Sam James's avatar
    9d718345
    m4: fix -Wstrict-protoypes · 9d718345
    Sam James authored
    In preparation for C23. Fixes the following error if Clang 16 is
    cranked up to be stricter:
    ```
    -warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
    +error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    ```
    
    Bug: https://bugs.gentoo.org/879707
    
    
    Signed-off-by: default avatarSam James <sam@gentoo.org>
    9d718345
    History
    m4: fix -Wstrict-protoypes
    Sam James authored
    In preparation for C23. Fixes the following error if Clang 16 is
    cranked up to be stricter:
    ```
    -warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
    +error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    ```
    
    Bug: https://bugs.gentoo.org/879707
    
    
    Signed-off-by: default avatarSam James <sam@gentoo.org>
attributes.m4 10.51 KiB