X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fsyntax-string-source.h;h=d2e1a9ba82c52c781288d491d6d7e1f9c0598739;hb=a27e454d1a65872d0b1147f320ba8cc42aa9275f;hp=42d1f4e98db72202c28aee4d26acbba6f8d763b0;hpb=d01cc07b11b5919369bf4e8989360c2b4fe0380c;p=pspp diff --git a/src/language/syntax-string-source.h b/src/language/syntax-string-source.h index 42d1f4e98d..d2e1a9ba82 100644 --- a/src/language/syntax-string-source.h +++ b/src/language/syntax-string-source.h @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical interface for PSPP. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2010 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 @@ -17,11 +17,15 @@ #ifndef SYNTAX_STRING_SOURCE_H #define SYNTAX_STRING_SOURCE_H +#include "libpspp/compiler.h" + struct getl_interface; struct syntax_string_source; -struct getl_interface * create_syntax_string_source (const char *fmt, ...); +struct getl_interface *create_syntax_string_source (const char *); +struct getl_interface *create_syntax_format_source (const char *, ...) + PRINTF_FORMAT (1, 2); const char * syntax_string_source_get_syntax (const struct syntax_string_source *s);