Those functions are helpers, they are not specified at libugidfw(3)
and it is safe set it to static instead to prototype it in the
header as I suggested before.
Also initialize few variables, spotted by clang.
Differential D2775
Set some functions(helpers) as static to silence clang warning. araujo on Jun 11 2015, 2:11 AM. Authored by Tags None Referenced Files
Subscribers
Details Those functions are helpers, they are not specified at libugidfw(3) Also initialize few variables, spotted by clang.
Diff Detail
Event TimelineComment Actions Was a review performed to ensure that there is indeed no consumers of the staticised functions outside the libugidfw ? Are there consumers of the library besides the base ? Comment Actions @kib I made a search for possible consumer of this function in two ways:
For both items, I didn't find any external usage of it. Best, Comment Actions Ok, typical check for such interface changes is the ports exp run. Also, I think that it would be prudent to bump the solib version, since ABI of the library is changed, after all. Comment Actions Have you checked gcc 4.2.1 as well? Please update the commit message to note that you're fixing WARNS in the summary, itemize the changes here. Comment Actions root@src0:/usr/src # cat /etc/src.conf
Sure. Comment Actions The 'exp run' finished! Comment Actions The commit log will be: |