Re: [PATCH] cdefs.h: Define __COLD

2023-04-29 Thread Samuel Thibault
n Sep 17 00:00:00 2001 > From: Sergey Bugaev > Date: Thu, 27 Apr 2023 17:42:11 +0300 > Subject: [PATCH] cdefs.h: Define __COLD > > This expands to __attribute__ ((cold)) when supported. It should be > used to mark up functions that are invoked rarely. > > Signed-off-by: S

Re: [PATCH] cdefs.h: Define __COLD

2023-04-29 Thread Sergey Bugaev
And of course right after I have sent it, I notice that I forgot the "Not GCC or clang." case. Sergey -- >8 -- >From 1b8c6563828399de563846525d0f525001f2d80d Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Thu, 27 Apr 2023 17:42:11 +0300 Subject: [PATCH] cdefs.h: Define __CO