Skip to content

Commit 502f268

Browse files
itaibazlguohan
authored andcommitted
remove switch to return status instead of void (#423)
1 parent b140864 commit 502f268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/saiswitch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ typedef sai_status_t(*sai_create_switch_fn)(
14131413
*
14141414
* @return #SAI_STATUS_SUCCESS on success Failure status code on error
14151415
*/
1416-
typedef void (*sai_remove_switch_fn)(
1416+
typedef sai_status_t(*sai_remove_switch_fn)(
14171417
_In_ sai_object_id_t switch_id);
14181418

14191419
/**

0 commit comments

Comments
 (0)