aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/block_abi.h
Commit message (Collapse)AuthorAgeFilesLines
* libc: Allow more complex expressions for CALL_BLOCK first argumentJessica Clarke2025-06-031-1/+1
| | | | | | | | | For the case where the compiler supports blocks we only allow the first expression to have an operator if it has as high precedence as a function call, which for blocks effectively means member access and subscripting only, not even a dereference nor a cast. Parenthesise this, as is the case for the missing compiler support case, so that it's more general.
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Add an extra void* cast to work around a bug in FreeBSD-gcc inheritedDavid Chisnall2014-04-031-1/+1
| | | | | | | from Apple. Notes: svn path=/head/; revision=264069
* Add support for some block functions that come from OS X. These areDavid Chisnall2014-04-021-0/+63
intended to build with any C compiler. Reviewed by: pfg MFC after: 3 weeks Notes: svn path=/head/; revision=264042