Compiling cpulimit: warning: implicit declaration of function 'basename'
opendaddy at hushmail.com
opendaddy at hushmail.com
Wed Mar 11 14:38:22 UTC 2015
On 11. mars 2015 at 1:44 PM, "Polytropon" <freebsd at edvax.de> wrote:
>
>FreeBSD has a basename() function, interface in libgen.h, check
>if included; also see "man 3 basename" for details. The following
>warning is probably a "follow-up error".
>
Not sure what to look for here, C is way, way beyond my level.
https://github.com/opsengine/cpulimit/blob/master/src/process_group.c#L64-L68
Are you able to compile it over at your end?
Many thanks!
O.D.
More information about the freebsd-questions
mailing list