--- ray/src/hd/sm_list.h 1998/12/28 18:07:35 3.3 +++ ray/src/hd/sm_list.h 2003/02/22 02:07:25 3.6 @@ -1,7 +1,4 @@ -/* Copyright (c) 1998 Silicon Graphics, Inc. */ - -/* SCCSid "$SunId$ SGI" */ - +/* RCSid: $Id: sm_list.h,v 3.6 2003/02/22 02:07:25 greg Exp $ */ /* * list.h * Linked list data structure and routines @@ -22,11 +19,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 +32,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();