diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:47:24 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:47:24 -0700 |
commit | f665327b32962ed93e2b03e3e3546d3a163f8012 (patch) | |
tree | 704a7e5217b1efed6ec4b0a9960f0dc95c779459 /src | |
parent | 78773073a0b5801a72be7a5309a40ddc90d9916e (diff) | |
download | xorg-lib-libXp-f665327b32962ed93e2b03e3e3546d3a163f8012.tar.gz |
Strip trailing whitespace
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/XpAttr.c | 2 | ||||
-rw-r--r-- | src/XpContext.c | 2 | ||||
-rw-r--r-- | src/XpDoc.c | 2 | ||||
-rw-r--r-- | src/XpExtUtil.c | 12 | ||||
-rw-r--r-- | src/XpExtVer.c | 4 | ||||
-rw-r--r-- | src/XpGetData.c | 2 | ||||
-rw-r--r-- | src/XpImageRes.c | 2 | ||||
-rw-r--r-- | src/XpInput.c | 2 | ||||
-rw-r--r-- | src/XpJob.c | 4 | ||||
-rw-r--r-- | src/XpLocale.c | 2 | ||||
-rw-r--r-- | src/XpNotifyPdm.c | 12 | ||||
-rw-r--r-- | src/XpPage.c | 2 | ||||
-rw-r--r-- | src/XpPageDim.c | 2 | ||||
-rw-r--r-- | src/XpPrinter.c | 2 | ||||
-rw-r--r-- | src/XpPutData.c | 2 | ||||
-rw-r--r-- | src/XpScreens.c | 2 |
16 files changed, 28 insertions, 28 deletions
diff --git a/src/XpAttr.c b/src/XpAttr.c index e8b85ac..6818daf 100644 --- a/src/XpAttr.c +++ b/src/XpAttr.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpContext.c b/src/XpContext.c index 5b1e4f9..67c6971 100644 --- a/src/XpContext.c +++ b/src/XpContext.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpDoc.c b/src/XpDoc.c index e7e9660..da179c6 100644 --- a/src/XpDoc.c +++ b/src/XpDoc.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpExtUtil.c b/src/XpExtUtil.c index 4fcf42b..8d8ee52 100644 --- a/src/XpExtUtil.c +++ b/src/XpExtUtil.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights @@ -91,7 +91,7 @@ static char *XpErrorList[ /* XP_ERRORS */ ] = { "XPBadResourceID" }; -XEXT_GENERATE_FIND_DISPLAY (xp_find_display, xp_info, +XEXT_GENERATE_FIND_DISPLAY (xp_find_display, xp_info, xp_extension_name, &xpprint_extension_hooks, XP_EVENTS, NULL) static XEXT_GENERATE_ERROR_STRING (XpError, xp_extension_name, @@ -167,18 +167,18 @@ int XpCheckExtInitUnlocked(Display *dpy, int version_index) return (-1); } } - + return (0); } int XpCheckExtInit(Display *dpy, int version_index) { int retval; - + _XLockMutex(_Xglobal_lock); - + retval = XpCheckExtInitUnlocked(dpy, version_index); - + _XUnlockMutex(_Xglobal_lock); return retval; diff --git a/src/XpExtVer.c b/src/XpExtVer.c index d6fcbd0..5433988 100644 --- a/src/XpExtVer.c +++ b/src/XpExtVer.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights @@ -68,7 +68,7 @@ extern int XpCheckExtInitUnlocked( register Display *dpy, register int version_index ); - + Status XpQueryVersion ( Display *dpy, diff --git a/src/XpGetData.c b/src/XpGetData.c index 8696120..b672703 100644 --- a/src/XpGetData.c +++ b/src/XpGetData.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpImageRes.c b/src/XpImageRes.c index 8e227bc..b5c8a8e 100644 --- a/src/XpImageRes.c +++ b/src/XpImageRes.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpInput.c b/src/XpInput.c index d6dd2bd..e373e69 100644 --- a/src/XpInput.c +++ b/src/XpInput.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpJob.c b/src/XpJob.c index b705c73..db9dc80 100644 --- a/src/XpJob.c +++ b/src/XpJob.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights @@ -71,7 +71,7 @@ static Bool _XpDiscardJob(Display *dpy, XEvent *event, XPointer arg) if (disrec->context != ((XPPrintEvent *) event)->context) return False; - + if ((((XPPrintEvent *) event)->detail == XPEndJobNotify) || (((XPPrintEvent *) event)->detail == XPEndDocNotify) || (((XPPrintEvent *) event)->detail == XPEndPageNotify)) { diff --git a/src/XpLocale.c b/src/XpLocale.c index 9b71363..fd41990 100644 --- a/src/XpLocale.c +++ b/src/XpLocale.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpNotifyPdm.c b/src/XpNotifyPdm.c index 2bef6b4..c1ceb8e 100644 --- a/src/XpNotifyPdm.c +++ b/src/XpNotifyPdm.c @@ -15,7 +15,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights @@ -692,7 +692,7 @@ XpCookieToPdm ( if ((ttype != XA_WINDOW) && (tformat != 32) && (nitems != 1)) { /* * Unable to read SelectionNotify property. - */ + */ sprintf(cdata, "XpCookieToPdm: Unable to read SelectionNotify property" ); return( _xpstrdup( cdata ) ); @@ -725,9 +725,9 @@ XpNotifyPdm ( ) { enum { XA_PDM_CLIENT_PROP, XA_PDM_START, XA_PDM_START_OK, - XA_PDM_START_VXAUTH, XA_PDM_START_PXAUTH, XA_PDM_START_ERROR, + XA_PDM_START_VXAUTH, XA_PDM_START_PXAUTH, XA_PDM_START_ERROR, NUM_ATOMS }; - static char *atom_names[] = { + static char *atom_names[] = { "PDM_CLIENT_PROP", "PDM_START", "PDM_START_OK", "PDM_START_VXAUTH", "PDM_START_PXAUTH", "PDM_START_ERROR" }; @@ -842,7 +842,7 @@ XpNotifyPdm ( * Read property content for status. */ XGetWindowProperty( sel_display, sel_window, - atoms[XA_PDM_CLIENT_PROP], + atoms[XA_PDM_CLIENT_PROP], 0, 100000, True, AnyPropertyType, &ttype, &tformat, &nitems, &bytes_after, &return_data ); @@ -864,7 +864,7 @@ XpNotifyPdm ( if ((ttype != XA_ATOM) && (tformat != 32) && (nitems != 1)) { /* * Unable to read SelectionNotify property. - */ + */ sprintf(cdata, "XpNotifyPdm: Unable to read SelectionNotify property" ); return( _xpstrdup( cdata ) ); diff --git a/src/XpPage.c b/src/XpPage.c index 1a4b722..ae0ccb2 100644 --- a/src/XpPage.c +++ b/src/XpPage.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpPageDim.c b/src/XpPageDim.c index 85c321c..4088eac 100644 --- a/src/XpPageDim.c +++ b/src/XpPageDim.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpPrinter.c b/src/XpPrinter.c index 20a4a89..bdc96e6 100644 --- a/src/XpPrinter.c +++ b/src/XpPrinter.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpPutData.c b/src/XpPutData.c index bd24173..69d7878 100644 --- a/src/XpPutData.c +++ b/src/XpPutData.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights diff --git a/src/XpScreens.c b/src/XpScreens.c index 6b2f507..815dfbf 100644 --- a/src/XpScreens.c +++ b/src/XpScreens.c @@ -8,7 +8,7 @@ ** (c) Copyright 1996 Digital Equipment Corp. ** (c) Copyright 1996 Fujitsu Limited ** (c) Copyright 1996 Hitachi, Ltd. - ** + ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** in the Software without restriction, including without limitation the rights |