On 20 Oct 2022 09:32, Tsukasa OI wrote: > Clang generates a warning if there is a function declaration/definition > with zero arguments. Such declarations/definitions without a prototype (an > argument list) are deprecated forms of indefinite arguments > ("-Wdeprecated-non-prototype"). On the default configuration, it causes a > build failure (unless "--disable-werror" is specified). > > This commit removes redundant and indefinite getrusage function declarations > if the known getrusage declaration is found. just delete the code and be done. don't keep it around for ancient irrelevant systems that we never test on. -mike