summaryrefslogtreecommitdiff
path: root/include/X11
AgeCommit message (Collapse)AuthorFilesLines
2022-05-08Fix spelling/wording issuesAlan Coopersmith1-1/+1
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-04Constify some more strings in API argumentsAlan Coopersmith1-7/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-23Constify pattern argument to FSListCataloguesAlan Coopersmith1-1/+1
The contents of pattern are simply copied to the request sent to the font server and never touched again, so can be labeled read-only. Fixes compiler warning building xfsinfo: xfsinfo.c: In function ‘print_catalogue_info’: xfsinfo.c:158:5: warning: passing argument 2 of ‘FSListCatalogues’ discards ‘const’ qualifier from pointer target type [enabled by default] char **cats = FSListCatalogues(svr, "*", 1000, &n); ^ In file included from xfsinfo.c:66:0: FSlib.h:255:16: note: expected ‘char *’ but argument is of type ‘const char *’ extern char ** FSListCatalogues ( FSServer *svr, char *pattern, Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-01-08Remove unused internal helper _FSAllocScratchAlan Coopersmith1-2/+2
Since we build with -export-symbols-regex '^FS.*', it wasn't available to callers outside libFS, and was never called by anything inside libFS. Seems to have been imported from XlibInt.c without ever being used. The _FSserver fields that it used (and nothing else did) are replaced with "unused" placeholders to maintain struct layout/size. Flagged by cppcheck 1.62: [FSlibInt.c:973]: (style) The function '_FSAllocScratch' is never used. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
2011-11-18Mark pattern argument to FSListFonts* as const char *Alan Coopersmith1-2/+2
Needed to fix gcc -Wwrite-strings warnings in clients such as fslsfonts Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-11-18Change FSOpenServer and FSServerName to take const char * args.Alan Coopersmith1-2/+2
Almost matches the current versions of the XOpenDisplay & XDisplayName functions they're modeled on - unlike XDisplayName, FSServerName now returns const char * as well so we don't lose the constness of the string passed in if we return it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-16Strip trailing whitespaceAlan Coopersmith1-36/+36
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-07-07Strip out-of-date RCS/CVS & SCCS version tagsAlan Coopersmith1-3/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-07Constify FSErrorListAlan Coopersmith1-2/+3
Matches the code in libX11/src/ErrDes.c this is based on. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2004-04-23Merging XORG-CURRENT into trunksco_port_update-baserel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1XORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1XACE-SELINUX-MERGEXORG-6_8-branchEgbert Eich1-1/+1
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2003-11-14XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley1-29/+86
2003-11-14R6.6 is the Xorg base-lineXORG-MAINXORG-STABLEKaleb Keithley1-0/+256