Skip to content

Commit c6278e8

Browse files
committed
Remove default argument from "C" API.
This is far from the only C incompatibility in this file, but it's the one that's most likely to not break builds, so I'm starting small. This is a source compat break, but not an ABI break. Bug: android/ndk#1920 Test: treehugger Change-Id: I5a32762fa61b1399fb354397479603858184ea05
1 parent ddf0e82 commit c6278e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/android/surface_control.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ void ASurfaceTransaction_setZOrder(ASurfaceTransaction* transaction,
346346
*/
347347
void ASurfaceTransaction_setBuffer(ASurfaceTransaction* transaction,
348348
ASurfaceControl* surface_control, AHardwareBuffer* buffer,
349-
int acquire_fence_fd = -1) __INTRODUCED_IN(29);
349+
int acquire_fence_fd) __INTRODUCED_IN(29);
350350

351351
/**
352352
* Updates the color for \a surface_control. This will make the background color for the

0 commit comments

Comments
 (0)