X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ferror.h;h=e1016882285b58a09919daa8c4b0616470eddecc;hb=b9799cdd10b30ea96d9178b7a0d48504d052228c;hp=801ceda310541bfdb733177b938ae4abd9aa4d01;hpb=721f67e477ee5050961020ed5afd8e0daf42bf2d;p=pspp-builds.git diff --git a/src/error.h b/src/error.h index 801ceda3..e1016882 100644 --- a/src/error.h +++ b/src/error.h @@ -14,8 +14,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. */ #if !error_h #define error_h 1 @@ -53,7 +53,6 @@ struct error int class; /* One of the classes above. */ struct file_locator where; /* File location, or (NULL, -1). */ const char *title; /* Special text inserted if not null. */ - const char *text; /* Error text. */ }; /* Number of errors, warnings reported. */ @@ -82,10 +81,10 @@ void err_pop_file_locator (const struct file_locator *); void err_location (struct file_locator *); /* Obscure functions. */ +void err_done (void); void err_break (void); void err_check_count (void); -void err_hcf (int exit_code) NO_RETURN; -void err_vmsg (const struct error *); +void err_vmsg (const struct error *, const char *, va_list); /* Used in panic situations only */ void request_bug_report_and_abort(const char *msg );