summaryrefslogtreecommitdiff
path: root/common.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-02Convert remaining bcopy() calls to memcpy()Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2012-10-02Add _X_NORETURN to additional functions suggested by gcc warningsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-10-02Convert remaining sprintf calls to snprintfAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2012-07-21Use local variable for ioctl argument instead of a staticAlan Coopersmith1-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-21Convert to X.Org standard indentation & cleanup whitespaceAlan Coopersmith1-155/+164
Performed with util/modular/x-indent-all.sh, followed by manual fixups Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-30Add const attributes to clear gcc -Wwrite-strings warningsAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Ensure ScopeHost global is initialized when built with USE_XTRANSAlan Coopersmith1-8/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Use strdup instead of malloc(strlen+1); strcpy();Alan Coopersmith1-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Stop wrapping malloc & freeAlan Coopersmith1-27/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-09-30Clean up existing malloc callsAlan Coopersmith1-1/+3
Remove unnecessary casts from (void *) Ensure return value is checked. 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-28Replace platform #ifdefs with autoconf testsAlan Coopersmith1-7/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-27Correct message when SIGUSR1 receivedAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Clear many compiler & sparse warningsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Ansify prototypes and move extern declarations to header filesAlan Coopersmith1-16/+9
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-06Delete DECnet supportAlan Coopersmith1-128/+0
2009-05-06Merge branch 'keithp'Alan Coopersmith1-20/+64
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-55/+88
2008-09-11AutotooledStuart Kreitman1-0/+3
2008-09-11Merge Sun's version of xscope inStuart Kreitman1-73/+240
Conversion to ANSI C SysVR4 support Conversion of networking code to use xtrans
2008-09-11Import initial version from James PetersonAlan Coopersmith1-0/+276