Skip to content

Commit ba6bc4b

Browse files
committed
Thread: fix missing parameter name
1 parent 7c2585f commit ba6bc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/Base.subproj/ForSwiftFoundationOnly.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ typedef pthread_t _CFThreadRef;
317317
CF_EXPORT _CFThreadRef _CFThreadCreate(const _CFThreadAttributes attrs, void *_Nullable (* _Nonnull startfn)(void *_Nullable), void *restrict _Nullable context);
318318

319319
CF_SWIFT_EXPORT int _CFThreadSetName(pthread_t thread, const char *_Nonnull name);
320-
CF_SWIFT_EXPORT int _CFThreadGetName(char *_Nonnull, int length);
320+
CF_SWIFT_EXPORT int _CFThreadGetName(char *_Nonnull buf, int length);
321321

322322
CF_EXPORT Boolean _CFCharacterSetIsLongCharacterMember(CFCharacterSetRef theSet, UTF32Char theChar);
323323
CF_EXPORT CFCharacterSetRef _CFCharacterSetCreateCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);

0 commit comments

Comments
 (0)