Project

General

Profile

Bug #2984

__unused

Added by dclink almost 3 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
03/09/2017
Due date:
% Done:

0%

Estimated time:

Description

Hi all,

nothing important at all, just asking for the reasoning, in my C code in a struct I call a field __unused which compile fine everywhere jsut I tried by curisioty on DragonflyBSD and it felt.
not a big deal I just renamed the field ;-)

Regards.

History

#1

Updated by liweitianux 8 months ago

  • Status changed from New to Resolved

'__unused' is defined to be '__attribute__((__unused__))' in <sys/cdefs.h> on various BSDs. Names starting with '_' are reserved and shouldn't used by userland programs.

Also available in: Atom PDF