X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsubclist.c;h=6f5898f146b089aee2c25367423cb7341bfd7bef;hb=86968643348c6479634a89929a3094df5ec5f8b1;hp=d2add44c178952781e384986af54e36198f7e7fa;hpb=0a2cdacebb16d9a13c1b382c5ffa29e32cf858ea;p=pspp diff --git a/src/subclist.c b/src/subclist.c index d2add44c17..6f5898f146 100644 --- a/src/subclist.c +++ b/src/subclist.c @@ -17,8 +17,8 @@ General Public License for more details. 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. */ #include "subclist.h" @@ -53,7 +53,7 @@ subc_list_double_push(subc_list_double *l, double d) /* Return the number of items in the list */ int -subc_list_double_count(subc_list_double *l) +subc_list_double_count(const subc_list_double *l) { return l->n_data; } @@ -61,7 +61,7 @@ subc_list_double_count(subc_list_double *l) /* Index into the list (array) */ double -subc_list_double_at(subc_list_double *l, int idx) +subc_list_double_at(const subc_list_double *l, int idx) { return l->data[idx]; }