updating headers from code review.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9449 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/** @file
|
||||
Library used for sorting routines.
|
||||
Library used for sorting and comparison routines.
|
||||
|
||||
Copyright (c) 2009, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
@@ -59,4 +59,20 @@ PerformQuickSort (
|
||||
IN SORT_COMPARE CompareFunction
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Function to compare 2 device paths for use as CompareFunction.
|
||||
|
||||
@param[in] Buffer1 pointer to Device Path to compare
|
||||
@param[in] Buffer2 pointer to second DevicePath to compare
|
||||
|
||||
@retval 0 Buffer1 equal to Buffer2
|
||||
@return < 0 Buffer1 is less than Buffer2
|
||||
@return > 0 Buffer1 is greater than Buffer2
|
||||
**/
|
||||
INTN
|
||||
DevicePathCompare (
|
||||
IN VOID *Buffer1,
|
||||
IN VOID *Buffer2
|
||||
);
|
||||
#endif //__SORT_LIB_H__
|
||||
|
Reference in New Issue
Block a user