X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fhtml.c;h=3f7416290b070d92c94db48c8f8dbf7688fa03b8;hb=3a7fba81ceae5b049d0f7d671e9e3c3c43bbf703;hp=42d818b519f908004e0eb876cdfc089ffd53a67b;hpb=b9dcb1c23a48b9db5444b9f10aac0748b83898ad;p=pspp-builds.git diff --git a/src/html.c b/src/html.c index 42d818b5..3f741629 100644 --- a/src/html.c +++ b/src/html.c @@ -21,6 +21,7 @@ #if !NO_HTML #include +#include "htmlP.h" #include #include #include @@ -35,7 +36,6 @@ #include "error.h" #include "filename.h" #include "getline.h" -#include "htmlP.h" #include "output.h" #include "som.h" #include "tab.h" @@ -45,19 +45,19 @@ static int postopen (struct file_ext *); static int preclose (struct file_ext *); -int +static int html_open_global (struct outp_class *this unused) { return 1; } -int +static int html_close_global (struct outp_class *this unused) { return 1; } -int +static int html_preopen_driver (struct outp_driver *this) { struct html_driver_ext *x; @@ -87,7 +87,7 @@ html_preopen_driver (struct outp_driver *this) return 1; } -int +static int html_postopen_driver (struct outp_driver *this) { struct html_driver_ext *x = this->ext; @@ -105,7 +105,7 @@ html_postopen_driver (struct outp_driver *this) return 1; } -int +static int html_close_driver (struct outp_driver *this) { struct html_driver_ext *x = this->ext; @@ -141,7 +141,7 @@ static struct outp_option option_tab[] = }; static struct outp_option_info option_info; -void +static void html_option (struct outp_driver *this, const char *key, const struct string *val) { struct html_driver_ext *x = this->ext; @@ -358,7 +358,7 @@ preclose (struct file_ext *f) return 1; } -int +static int html_open_page (struct outp_driver *this) { struct html_driver_ext *x = this->ext; @@ -378,7 +378,7 @@ html_open_page (struct outp_driver *this) return !ferror (x->file.file); } -int +static int html_close_page (struct outp_driver *this) { struct html_driver_ext *x = this->ext; @@ -390,7 +390,7 @@ html_close_page (struct outp_driver *this) static void output_tab_table (struct outp_driver *, struct tab_table *); -void +static void html_submit (struct outp_driver *this, struct som_table *s) { extern struct som_table_class tab_table_class;