diff options
Diffstat (limited to 'Xprint/AttrValid.c')
-rw-r--r-- | Xprint/AttrValid.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Xprint/AttrValid.c b/Xprint/AttrValid.c index 1303701af..83d6b9674 100644 --- a/Xprint/AttrValid.c +++ b/Xprint/AttrValid.c @@ -30,13 +30,11 @@ not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from said copyright holders. */ -#include <scrnintstr.h> +/* $XFree86: xc/programs/Xserver/Xprint/AttrValid.c,v 1.5 2001/12/21 21:02:04 dawes Exp $ */ -#define _XP_PRINT_SERVER_ -#include "extensions/Printstr.h" -#undef _XP_PRINT_SERVER_ +#include <scrnintstr.h> -#include "AttrValid.h" +#include "attributes.h" /* * default medium-source-sizes supported = na-letter w/.25" margins @@ -48,7 +46,7 @@ static XpOidMediumDiscreteSizeList DefaultMediumSizeList = { &DefaultMediumSize, 1 }; static XpOidMediumSourceSize DefaultMediumSourceSize = { - xpoid_unspecified, XpOidMediumSS_DISCRETE, &DefaultMediumSizeList + xpoid_unspecified, XpOidMediumSS_DISCRETE, { &DefaultMediumSizeList } }; static XpOidMediumSS DefaultMediumSS = { &DefaultMediumSourceSize, 1 @@ -300,7 +298,7 @@ XpPutMediumSSAttr(XpContextPtr pContext, } const XpOidMediumSS* -XpGetDefaultMediumSS() +XpGetDefaultMediumSS(void) { return &DefaultMediumSS; } |