* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <stdlib.h>
if (list == NULL) return l;
last = xlist_tail (list);
- if (last) last->next = l;
- l->prev = last;
+ last->next = l;
+ l->prev = last;
return list;
}
l->next = node;
if (p) p->next = l;
node->prev = l;
-
+
return list;
}