Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2015 14:07:20 +0000
From:      opendaddy@hushmail.com
To:        "Polytropon" <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Compiling cpulimit: warning: implicit declaration of function 'basename'
Message-ID:  <20150311140720.2A7F4C0451@smtp.hushmail.com>
In-Reply-To: <20150311145328.09853966.freebsd@edvax.de>
References:  <20150311122656.96F2020341@smtp.hushmail.com> <20150311141347.1013d42d.freebsd@edvax.de> <20150311134458.AF7B8C0450@smtp.hushmail.com> <20150311145328.09853966.freebsd@edvax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
On 11. mars 2015 at 1:44 PM, "Polytropon" <freebsd@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150311140720.2A7F4C0451>