--- ray/src/hd/sm_list.h 1998/12/28 18:07:35 3.3 +++ ray/src/hd/sm_list.h 1999/01/05 16:52:38 3.4 @@ -22,11 +22,12 @@ typedef struct _LIST { #define LIST_DATA(l) ((l)->d) #define SET_LIST_NEXT(l,d) ((l)->next = (d)) #define SET_LIST_DATA(l,id) ((l)->d = (int)(id)) + /* LIST *new_list(void); LIST *free_list(LIST *l); LIST *append_list(LIST *a, LIST *b); -LIST *push_data(LIST *l,int d); + int pop_data(LIST **l); LIST *add_data_to_circular_list(LIST *l,LIST **end,int d) int remove_from_list(int d,LIST **list) @@ -34,8 +35,8 @@ int remove_from_list(int d,LIST **list) LIST *new_list(); LIST *free_list(); LIST *append_list(); -LIST *push_data(); int pop_data(); +LIST *push_data(); LIST *add_data_to_circular_list(); int remove_from_list(); LIST *add_data();