X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fll.h;h=9e6e35f04ad72ee4af7264883cf080bc49359ad0;hb=f3eba902a0deb8e3ce93383de255f7e0d39921b5;hp=4d0d2eb84a6ba26dd8dfd64735b9113e08a30df0;hpb=0b0a278699196c25f4cf0f690e21c5aea2ccabfb;p=pspp diff --git a/src/libpspp/ll.h b/src/libpspp/ll.h index 4d0d2eb84a..9e6e35f04a 100644 --- a/src/libpspp/ll.h +++ b/src/libpspp/ll.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2006, 2009 Free Software Foundation, Inc. + Copyright (C) 2006, 2009, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ #include #include #include -#include +#include "libpspp/cast.h" /* Embedded, circular doubly linked list. @@ -380,7 +380,7 @@ ll_tail (const struct ll_list *list) static inline struct ll * ll_null (const struct ll_list *list) { - return (struct ll *) &list->null; + return CONST_CAST (struct ll *, &list->null); } /* Returns the node following LL in its list,