On Tue, Apr 11, 2023 at 01:15:33PM +0200, Ricardo Cañuelo wrote:
From: Tommi Rantala tommi.t.rantala@nokia.com
commit fc4a3a1bf9ad799181e4d4ec9c2598c0405bc27d upstream.
Use clock_gettime() instead of deprecated ftime().
aperf.c: In function ‘main’: aperf.c:58:2: warning: ‘ftime’ is deprecated [-Wdeprecated-declarations] 58 | ftime(&before); | ^~~~~ In file included from aperf.c:9: /usr/include/sys/timeb.h:39:12: note: declared here 39 | extern int ftime (struct timeb *__timebuf) | ^~~~~
Signed-off-by: Tommi Rantala tommi.t.rantala@nokia.com Signed-off-by: Shuah Khan skhan@linuxfoundation.org Reviewed-by: Ricardo Cañuelo ricardo.canuelo@collabora.com
As you are passing this on to us, you need to also sign off on it as per our documentation.
thanks,
greg k-h