Re: [PATCH] usbreset.c: add missing <stdlib.h> include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 25, 2017 at 10:48:13PM +0100, Aurelien Jarno wrote:
> Without it one gets:
> 
>   $ gcc -o usbreset usbreset.c
>   usbreset.c: In function 'parse_devlist':
>   usbreset.c:68:17: warning: implicit declaration of function 'strtoul'; did you mean 'strtok'? [-Wimplicit-function-declaration]
>      dev.bus_num = strtoul(attr, NULL, 10);
>                    ^~~~~~~
>                    strtok
> 
> Signed-off-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
> ---
>  usbreset.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux