diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-08-01 23:18:03 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-09-29 17:10:05 +0200 |
commit | b1850beb9f58f32cb13f585b55a44a4467f2093a (patch) | |
tree | 6978f1e17389167ad21fbc2a7405288979afa088 /nx-X11/programs/Xserver/hw/nxagent/NXshm.c | |
parent | 7d2a222f2c6b87c7277b50ed89e522b39a495975 (diff) | |
download | nx-libs-b1850beb9f58f32cb13f585b55a44a4467f2093a.tar.gz nx-libs-b1850beb9f58f32cb13f585b55a44a4467f2093a.tar.bz2 nx-libs-b1850beb9f58f32cb13f585b55a44a4467f2093a.zip |
nxagent: avoid nested externs
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXshm.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXshm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXshm.c b/nx-X11/programs/Xserver/hw/nxagent/NXshm.c index 9a314391c..e1b55f561 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXshm.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXshm.c @@ -81,6 +81,8 @@ extern void fbPutImage (DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, int w, int h, int leftPad, int format, char *pImage); +extern int nxagentImageLength(int, int, int, int, int); + void ShmExtensionInit(void) { @@ -228,7 +230,6 @@ fbShmPutImage(dst, pGC, depth, format, w, h, sx, sy, sw, sh, dx, dy, data) #ifdef NXAGENT_SERVER int length; char *newdata; - extern int nxagentImageLength(int, int, int, int, int); #ifdef TEST fprintf(stderr, "fbShmPutImage: Called with drawable at [%p] GC at [%p] data at [%p].\n", |