]> git.sur5r.net Git - u-boot/blobdiff - include/lists.h
Avoid initrd and logbuffer area overlaps
[u-boot] / include / lists.h
index 3249fcaa46b303e053b1c7af1800add9d57ec985..10a2a192735a14e0e34914882c7e7b7b2cac6e84 100644 (file)
@@ -1,9 +1,9 @@
 #ifndef _LISTS_H_
 #define _LISTS_H_
 
-#define LIST_START     -1      /* Handy Constants that substitute for item positions */
-#define LIST_END       0       /* END_OF_LIST means one past current length of list when */
-                                /* inserting. Otherwise it refers the last item in the list. */
+#define LIST_START     -1      /* Handy Constants that substitute for item positions */
+#define LIST_END       0       /* END_OF_LIST means one past current length of list when */
+                               /* inserting. Otherwise it refers the last item in the list. */
 
 typedef struct
     {
@@ -39,7 +39,7 @@ void    *ListGetPtrToItem(list_t list, int itemPosition);
 void    ListRemoveItem(list_t list, void *itemDestination, int itemPosition);
 void    ListRemoveItems(list_t list, void *itemsDestination, int firstItemPosition, int numItemsToRemove);
 
-#if 0
+#if 0  /* rarely ever used; kept here for reference just in case ... */
 void    ListDisposePtrList(list_t list);
 void    ListGetItem(list_t list, void *itemDestination, int itemPosition);
 void    ListReplaceItem(list_t list, void *ptrToItem, int itemPosition);
@@ -72,6 +72,6 @@ int     ListGetItemSize(list_t list);
 int     GetIntListFromParmInfo(va_list parmInfo, int numIntegers, list_t *integerList);
 int     ListInsertAfterItem(list_t list, void *ptrToItem, void *ptrToItemToInsertAfter, CompareFunction compareFunction);
 int     ListInsertBeforeItem(list_t list, void *ptrToItem, void *ptrToItemToInsertBefore, CompareFunction compareFunction);
-#endif 0
+#endif /* 0 */
 
 #endif /* _LISTS_H_ */