Tue, 21 Jan 2025 10:44:24 -0600
zephyr: Modernize K&R function prototypes
This is a backport of 811f82db29dd, as GCC and/or Clang is warning how these are outdated and unsupported for C23.
Testing Done:
Compiled with GCC 15 without `-Wold-style-prototype` warnings raised.
Reviewed at https://reviews.imfreedom.org/r/3775/
/* This file is part of the Project Athena Zephyr Notification System. * It contains source for the ZCompareUIDPred function. * * Created by: Robert French * * Copyright (c) 1987 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file * "mit-copyright.h". */ #include "internal.h" int ZCompareUIDPred(ZNotice_t *notice, void *uid) { return (ZCompareUID(¬ice->z_uid, (ZUnique_Id_t *) uid)); } int ZCompareMultiUIDPred(ZNotice_t *notice, void *uid) { return (ZCompareUID(¬ice->z_multiuid, (ZUnique_Id_t *) uid)); }