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 ZCompareUID 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 ZCompareUID(ZUnique_Id_t *uid1, ZUnique_Id_t *uid2) { return (!memcmp((char *)uid1, (char *)uid2, sizeof (*uid1))); }