X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftext-item.h;h=da1b208a5ea8cfd40ec5c27339cd2c8307d814a3;hb=197c17c92ac8124ae389434afa105bee90b96ad8;hp=b62e7dc4011e8616b843c0bc604938fa9fd04a8a;hpb=d0b91eae59319ab2756d0d43b9cb15eb9cd3c234;p=pspp diff --git a/src/output/text-item.h b/src/output/text-item.h index b62e7dc401..da1b208a5e 100644 --- a/src/output/text-item.h +++ b/src/output/text-item.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009 Free Sonftware Foundation, Inc. + Copyright (C) 2009, 2010, 2011 Free Sonftware 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 @@ -25,8 +25,8 @@ A text item is just a text string. */ #include -#include -#include +#include "libpspp/compiler.h" +#include "output/output-item.h" enum text_item_type { @@ -67,6 +67,7 @@ struct text_item }; struct text_item *text_item_create (enum text_item_type, const char *text); +struct text_item *text_item_create_nocopy (enum text_item_type, char *text); struct text_item *text_item_create_format (enum text_item_type, const char *format, ...) PRINTF_FORMAT (2, 3); @@ -78,7 +79,7 @@ const char *text_item_get_text (const struct text_item *); autogenerated by mk-class-boilerplate. */ #include -#include +#include "libpspp/cast.h" extern const struct output_item_class text_item_class;