libgnt/libgnt

Remove C99-obsoleted constructs

18 months ago, Elliott Sales de Andrade
f5126e6837e3
Remove C99-obsoleted constructs

See [this development thread for a future Fedora change](https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/) or [the proposed change page](https://fedoraproject.org/wiki/Changes/PortingToModernC). These may be made stronger errors in GCC 14.

Testing Done:
Configured with `-Dc_args='-Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition'` and compiled.

Reviewed at https://reviews.imfreedom.org/r/1973/
environment:
- REGISTRY_HOST=docker.io
- REPOSITORY=libgnt/builders
- DOCS_BUILD_IMAGE=${REGISTRY_HOST}/${REPOSITORY}:debian-bullseye-amd64
tasks:
build:
type: docker/run
image: ${REGISTRY_HOST}/${REPOSITORY}:${TARGET}
clean:
type: convey/clean
files:
- debian-bookworm-amd64
- debian-bullseye-amd64
- fedora-34-amd64
- libgnt-docs
docs-clean:
type: convey/clean
files:
- libgnt-docs
docs-build:
type: docker/run
image: ${DOCS_BUILD_IMAGE}
workdir: ${CONVEY_WORKSPACE}
script:
- set -ex
- meson build-docs
- ninja -C build-docs doc
docs-export:
type: docker/export
files:
- build-docs/doc/libgnt:libgnt-docs
export:
type: docker/export
files: ${TARGET}:.
import:
type: docker/import
files: .:.
plans:
docs:
stages:
- tasks:
- docs-clean
- import
- docs-build
- docs-export
clean:
stages:
- tasks: clean
debian-bullseye-amd64:
environment: TARGET=debian-bullseye-amd64
stages:
- tasks: [import, build]
- tasks: export
run: always
debian-bookworm-amd64:
environment: TARGET=debian-bookworm-amd64
stages:
- tasks: [import, build]
- tasks: export
run: always
fedora-34-amd64:
environment: TARGET=fedora-34-amd64
stages:
- tasks: [import, build]
- tasks: export
run: always