diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-06-17 14:41:17 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-06-17 14:41:17 -0700 |
commit | cf49e537014c3cb5aaee07e57400933e0bb72b6b (patch) | |
tree | e7b4fb52ba382a4609b7fcd596059b3432b264ec /src/InitExt.c | |
parent | f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 (diff) | |
download | xorg-lib-libX11-cf49e537014c3cb5aaee07e57400933e0bb72b6b.tar.gz |
Strip whitespace from end of lines in source files
Diffstat (limited to 'src/InitExt.c')
-rw-r--r-- | src/InitExt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/InitExt.c b/src/InitExt.c index 925b9866..92fc44af 100644 --- a/src/InitExt.c +++ b/src/InitExt.c @@ -46,7 +46,7 @@ XExtCodes *XInitExtension ( { XExtCodes codes; /* temp. place for extension information. */ register _XExtension *ext;/* need a place to build it all */ - if (!XQueryExtension(dpy, name, + if (!XQueryExtension(dpy, name, &codes.major_opcode, &codes.first_event, &codes.first_error)) return (NULL); @@ -61,7 +61,7 @@ XExtCodes *XInitExtension ( ext->codes = codes; (void) strcpy(ext->name, name); - /* chain it onto the display list */ + /* chain it onto the display list */ ext->next = dpy->ext_procs; dpy->ext_procs = ext; UnlockDisplay (dpy); @@ -363,7 +363,7 @@ BeforeFlushType XESetBeforeFlush( if (!ext) { e->next_flush = dpy->flushes; dpy->flushes = e; - } + } UnlockDisplay(dpy); return (BeforeFlushType)oldproc; } |