diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:57:14 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:57:14 -0700 |
commit | e9936bbcfe7ae6430ec91fd5fca696c09f2b904c (patch) | |
tree | 8854fd3ebb2886beda837d3e6e300fb0aeb5eaf4 /src/XF86DGA.c | |
parent | c85b3c711d96331b4aa564ee4c9168d1aa0c10bc (diff) |
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/XF86DGA.c')
-rw-r--r-- | src/XF86DGA.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/XF86DGA.c b/src/XF86DGA.c index 4effcaf..71484b7 100644 --- a/src/XF86DGA.c +++ b/src/XF86DGA.c @@ -86,7 +86,7 @@ Bool XF86DGAQueryExtension ( Bool XF86DGAQueryVersion( Display* dpy, - int* majorVersion, + int* majorVersion, int* minorVersion ){ return XDGAQueryVersion(dpy, majorVersion, minorVersion); @@ -96,8 +96,8 @@ Bool XF86DGAGetVideoLL( Display* dpy, int screen, unsigned int *offset, - int *width, - int *bank_size, + int *width, + int *bank_size, int *ram_size ){ XExtDisplayInfo *info = xdga_find_display (dpy); @@ -121,13 +121,13 @@ Bool XF86DGAGetVideoLL( *width = rep.width; *bank_size = rep.bank_size; *ram_size = rep.ram_size; - + UnlockDisplay(dpy); SyncHandle(); return True; } - + Bool XF86DGADirectVideoLL( Display* dpy, int screen, @@ -153,7 +153,7 @@ Bool XF86DGADirectVideoLL( Bool XF86DGAGetViewPortSize( Display* dpy, int screen, - int *width, + int *width, int *height ){ XExtDisplayInfo *info = xdga_find_display (dpy); @@ -175,17 +175,17 @@ Bool XF86DGAGetViewPortSize( *width = rep.width; *height = rep.height; - + UnlockDisplay(dpy); SyncHandle(); return True; } - - + + Bool XF86DGASetViewPort( Display* dpy, int screen, - int x, + int x, int y ){ XExtDisplayInfo *info = xdga_find_display (dpy); @@ -206,7 +206,7 @@ Bool XF86DGASetViewPort( return True; } - + Bool XF86DGAGetVidPage( Display* dpy, int screen, @@ -235,7 +235,7 @@ Bool XF86DGAGetVidPage( return True; } - + Bool XF86DGASetVidPage( Display* dpy, int screen, @@ -342,7 +342,7 @@ Bool XF86DGAViewPortChanged( #include <stdlib.h> #include <stdio.h> #include <fcntl.h> -#if defined(ISC) +#if defined(ISC) # define HAS_SVR3_MMAP # include <sys/types.h> # include <errno.h> @@ -548,7 +548,7 @@ MapPhysAddress(unsigned long address, unsigned long size) if (rc != 0) return NULL; #elif defined(Lynx) && defined(NO_MMAP) - vaddr = (void *)smem_create("XF86DGA", (char *)offset, + vaddr = (void *)smem_create("XF86DGA", (char *)offset, size + delta, SM_READ|SM_WRITE); #else #ifndef MAP_FILE @@ -670,8 +670,8 @@ XF86DGAGetVideo( Display *dis, int screen, char **addr, - int *width, - int *bank, + int *width, + int *bank, int *ram ){ unsigned int offset; @@ -710,7 +710,7 @@ XF86DGAGetVideo( signal(SIGBUS, XF86cleanup); #endif signal(SIGHUP, XF86cleanup); - signal(SIGFPE, XF86cleanup); + signal(SIGFPE, XF86cleanup); } return 1; |