Project

General

Profile

Actions

Bug #2984

closed

__unused

Added by dclink almost 8 years ago. Updated over 5 years 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.

Actions #1

Updated by liweitianux over 5 years 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.

Actions

Also available in: Atom PDF