[DragonFlyBSD - Bug #2984] (Resolved) __unused

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Jun 15 04:15:35 PDT 2019


Issue #2984 has been updated by liweitianux.

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.

----------------------------------------
Bug #2984: __unused
http://bugs.dragonflybsd.org/issues/2984#change-13662

* Author: dclink
* Status: Resolved
* Priority: Low
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
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.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list