diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2016-07-29 00:44:38 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-08-24 23:05:45 +0200 |
commit | acfe0013c9d1ef1344c7813d4dae51ba6f2da622 (patch) | |
tree | ba17af85081b346a6b0e753fd9ac1e590a4ca494 /nx-X11/lib/X11/Depths.c | |
parent | 35145c251305a562c4273d712fab5b4b387913ab (diff) | |
download | nx-libs-acfe0013c9d1ef1344c7813d4dae51ba6f2da622.tar.gz nx-libs-acfe0013c9d1ef1344c7813d4dae51ba6f2da622.tar.bz2 nx-libs-acfe0013c9d1ef1344c7813d4dae51ba6f2da622.zip |
update src files *[ch] to libX11 1.3.4
Diffstat (limited to 'nx-X11/lib/X11/Depths.c')
-rw-r--r-- | nx-X11/lib/X11/Depths.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nx-X11/lib/X11/Depths.c b/nx-X11/lib/X11/Depths.c index 14aebceb6..f49655cb2 100644 --- a/nx-X11/lib/X11/Depths.c +++ b/nx-X11/lib/X11/Depths.c @@ -33,10 +33,10 @@ in this Software without prior written authorization from The Open Group. /* * XListDepths - return info from connection setup */ -int *XListDepths (dpy, scrnum, countp) - Display *dpy; - int scrnum; - int *countp; +int *XListDepths ( + Display *dpy, + int scrnum, + int *countp) { Screen *scr; int count; @@ -51,7 +51,7 @@ int *XListDepths (dpy, scrnum, countp) depths = (int *) Xmalloc (count * sizeof(int)); if (!depths) return NULL; - for (i = 0, dp = scr->depths; i < count; i++, dp++) + for (i = 0, dp = scr->depths; i < count; i++, dp++) depths[i] = dp->depth; } else { /* a screen must have a depth */ |