mcst-linux-kernel/patches-2024.06.26/mpage-2.5.2/0003-patch-for-x86-just-mag...

43 lines
964 B
Diff

From eebbc1f5cee84c6b7f10a4085efbf4dcf9310629 Mon Sep 17 00:00:00 2001
Date: Mon, 5 Oct 2015 16:51:27 +0300
Subject: [PATCH] patch for x86, just magic
---
mpage.h | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/mpage.h b/mpage.h
index 45556bb..2c78980 100644
--- a/mpage.h
+++ b/mpage.h
@@ -172,6 +172,14 @@ extern int errno;
extern int ps_width; /* number of points in the X direction (8.5 inches) */
extern int ps_height; /* number of points in the Y direction (11 inches) */
extern char * media; /* name of output page media */
+
+struct page_desc {
+ char *media;
+ int width;
+ int height;
+};
+
+
extern struct page_desc paper[];
/*
@@ -216,11 +224,6 @@ struct pagebox {
/*
* Structure to describe a physical piece of paper, e.g. A4 or Letter
*/
-struct page_desc {
- char *media;
- int width;
- int height;
-};
/* array of sheets where pages are ordered for coli ??? */
--
2.16.4