Skip to content

Commit

Permalink
hw/nxagent/NXextensions.c: Drop functions already present in identica…
Browse files Browse the repository at this point in the history
…l form in dix/extension.c.
  • Loading branch information
sunweaver committed Apr 5, 2016
1 parent 5413ae8 commit 9692e6a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 330 deletions.
3 changes: 0 additions & 3 deletions nx-X11/programs/Xserver/Imakefile
Expand Up @@ -328,7 +328,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
hw/nxagent/NXrender.o \
hw/nxagent/NXglyph.o \
hw/nxagent/NXpicture.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXmiglyph.o \
hw/nxagent/NXmiexpose.o \
Expand All @@ -348,7 +347,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
hw/nxagent/NXrender.o \
hw/nxagent/NXglyph.o \
hw/nxagent/NXpicture.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXxvdisp.o \
hw/nxagent/NXmiglyph.o \
Expand All @@ -367,7 +365,6 @@ NXAGENTOBJS = hw/nxagent/miinitext.o \
hw/nxagent/NXrender.o \
hw/nxagent/NXglyph.o \
hw/nxagent/NXpicture.o \
hw/nxagent/NXextension.o \
hw/nxagent/NXglxext.o \
hw/nxagent/NXxvdisp.o \
hw/nxagent/NXmiglyph.o \
Expand Down
5 changes: 5 additions & 0 deletions nx-X11/programs/Xserver/dix/Imakefile
Expand Up @@ -76,6 +76,10 @@ VENDORRELEASE = XVendorRelease
#endif
#endif

#if defined(NXAgentServer) && NXAgentServer
NX_DEFINES = -DNXAGENT_SERVER
#endif

SITE_DEFINES = $(SITE_FONT_PATH) $(SITE_RGB_DB) $(SITE_DISPLAY_CLASS)

VENDOR_DEFINES = $(VENDOR_STRING) $(VENDOR_RELEASE) $(QUARTZ_DEFINES)
Expand All @@ -92,6 +96,7 @@ SpecialCObjectRule(main,$(ICONFIGFILES),$(VENDOR_DEFINES))
SpecialCObjectRule(pixmap,$(ICONFIGFILES),$(_NOOP_))
SpecialCObjectRule(privates,$(ICONFIGFILES),$(_NOOP_))
SpecialCObjectRule(window,$(ICONFIGFILES),$(QUARTZ_DEFINES))
SpecialCObjectRule(extension,$(ICONFIGFILES),$(NX_DEFINES))

NormalLibraryTarget(xpstubs,$(XPOBJ))

Expand Down
6 changes: 4 additions & 2 deletions nx-X11/programs/Xserver/dix/extension.c
Expand Up @@ -303,7 +303,9 @@ CloseDownExtensions()
}
}


#if NXAGENT_SERVER
#include "../hw/nxagent/NXextension.c"
#else
int
ProcQueryExtension(ClientPtr client)
{
Expand Down Expand Up @@ -408,7 +410,7 @@ ProcListExtensions(ClientPtr client)
}
return(client->noClientException);
}

#endif

ExtensionLookupProc
LookupProc(char *name, GCPtr pGC)
Expand Down
2 changes: 0 additions & 2 deletions nx-X11/programs/Xserver/hw/nxagent/Imakefile
Expand Up @@ -16,7 +16,6 @@ SRCS = NXwindow.c \
NXrender.c \
NXglyph.c \
NXpicture.c \
NXextension.c \
NXshm.c \
NXglxext.c \
NXxvdisp.c \
Expand Down Expand Up @@ -78,7 +77,6 @@ OBJS = NXwindow.o \
NXrender.o \
NXglyph.o \
NXpicture.o \
NXextension.o \
NXshm.o \
NXglxext.o \
NXxvdisp.o \
Expand Down

0 comments on commit 9692e6a

Please sign in to comment.