X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsubclist.h;h=5087cc1e255445b4f4ab75791d656820229f0798;hb=d7b5d9144738a5a8989d45a01f4e458a78b68c0b;hp=b311bc67bcb36c73d68cf94ef0e6a9e79094d062;hpb=0a2cdacebb16d9a13c1b382c5ffa29e32cf858ea;p=pspp diff --git a/src/subclist.h b/src/subclist.h index b311bc67bc..5087cc1e25 100644 --- a/src/subclist.h +++ b/src/subclist.h @@ -20,8 +20,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ @@ -57,12 +57,12 @@ void subc_list_double_push(subc_list_double *l, double d) ; void subc_list_int_push(subc_list_int *l, int i) ; /* Index into the list */ -double subc_list_double_at(subc_list_double *l, int idx); -int subc_list_int_at(subc_list_int *l, int idx); +double subc_list_double_at(const subc_list_double *l, int idx); +int subc_list_int_at(const subc_list_int *l, int idx); /* Return the number of values in the list */ -int subc_list_double_count(subc_list_double *l); -int subc_list_int_count(subc_list_int *l); +int subc_list_double_count(const subc_list_double *l); +int subc_list_int_count(const subc_list_int *l); /* Destroy the list */ void subc_list_double_destroy(subc_list_double *l) ;