summaryrefslogtreecommitdiff
path: root/prtype.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-02Convert remaining sprintf calls to snprintfAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2012-07-21Convert to X.Org standard indentation & cleanup whitespaceAlan Coopersmith1-700/+640
Performed with util/modular/x-indent-all.sh, followed by manual fixups Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-08Bug 46664 - xscope prints only half the characters in 16-bit stringsPeter Jeremy1-2/+2
https://bugs.freedesktop.org/show_bug.cgi?id=46664 The length fields for PolyText16 and ImageText16 represent the number of 16-bit characters in the request but PrintString16() and PrintTString16() treat the lengths as the number of octets in the string - thus printing only half of the characters. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-30Add const attributes to clear gcc -Wwrite-strings warningsAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-10-30Sun's copyrights now belong to OracleAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith1-23/+17
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-27Add missing return statements in PrintSET & PrintENUMERATEDAlan Coopersmith1-0/+4
Fixes warnings: "prtype.c", line 654: warning: Function has no return statement : PrintENUMERATED "prtype.c", line 704: warning: Function has no return statement : PrintSET Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Clear many compiler & sparse warningsAlan Coopersmith1-19/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Constify many char pointersAlan Coopersmith1-64/+64
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Ansify prototypes and move extern declarations to header filesAlan Coopersmith1-47/+48
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Merge branch 'keithp'Alan Coopersmith1-62/+180
Conflicts: common.c decode11.c fd.c fd.h print11.c prtype.c scope.c scope.h server.c table11.c x11.h xscope.man
2009-05-04Import xscope bits into keithp.com CVSKeith Packard1-41/+134
2008-09-11Convert more function declarations to ANSI CAlan Coopersmith1-99/+106
2008-09-11Merge Sun's version of xscope inStuart Kreitman1-110/+122
Conversion to ANSI C SysVR4 support Conversion of networking code to use xtrans
2008-09-11Import initial version from James PetersonAlan Coopersmith1-0/+1045