X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Foutput%2Foutput.h;h=5f986aa01f8a13f0a5e9909d64ef07f4ea8578cc;hb=5f7f751a47c68946a0fcbc9898f43f5499c5c6c5;hp=a61161abfd83614045cf5cb8bede0d6914cebe75;hpb=b74d09af5e07f954c18e7cdb8aca3af47fa10208;p=pspp diff --git a/src/output/output.h b/src/output/output.h index a61161abfd..5f986aa01f 100644 --- a/src/output/output.h +++ b/src/output/output.h @@ -103,7 +103,7 @@ enum struct outp_driver { struct outp_driver *next, *prev; /* List of drivers. */ - struct outp_class *class; /* Driver class. */ + const struct outp_class *class; /* Driver class. */ char *name; /* Name of this driver. */ bool page_open; /* 1=page is open, 0=page is closed. */ int device; /* Zero or more of OUTP_DEV_*. */ @@ -128,8 +128,6 @@ struct outp_option int subcat; /* Subcategory. */ }; -/* List of configured output drivers. */ -extern struct outp_driver *outp_driver_list; /* Title, subtitle. */ extern char *outp_title; @@ -152,10 +150,10 @@ bool outp_parse_options (struct substring options, bool (*) (struct outp_driver *, const char *key, const struct string *value), struct outp_driver *); -int outp_match_keyword (const char *, struct outp_option *, int *); +int outp_match_keyword (const char *, const struct outp_option *, int *); int outp_evaluate_dimension (char *, char **); -int outp_get_paper_size (char *, int *h, int *v); +bool outp_get_paper_size (char *, int *h, int *v); void outp_open_page (struct outp_driver *); void outp_close_page (struct outp_driver *);