summaryrefslogtreecommitdiff
path: root/src/driclient
diff options
context:
space:
mode:
Diffstat (limited to 'src/driclient')
-rw-r--r--src/driclient/include/driclient.h1
-rw-r--r--src/driclient/src/.gitignore1
-rw-r--r--src/driclient/src/Makefile1
-rw-r--r--src/driclient/src/driclient.c5
-rwxr-xr-xsrc/driclient/src/testbin68389 -> 0 bytes
5 files changed, 2 insertions, 6 deletions
diff --git a/src/driclient/include/driclient.h b/src/driclient/include/driclient.h
index 36438a9f79..d391525039 100644
--- a/src/driclient/include/driclient.h
+++ b/src/driclient/include/driclient.h
@@ -68,7 +68,6 @@ int driUpdateDrawableInfo(dri_drawable_t *dri_drawable);
int driDestroyDrawable(dri_drawable_t *dri_drawable);
int driCreateContext(dri_screen_t *dri_screen, Visual *visual, dri_context_t **dri_context);
int driDestroyContext(dri_context_t *dri_context);
-int driCompareVersions(const dri_version_t *v1, const dri_version_t *v2);
#define DRI_VALIDATE_DRAWABLE_INFO_ONCE(dri_drawable) \
do \
diff --git a/src/driclient/src/.gitignore b/src/driclient/src/.gitignore
new file mode 100644
index 0000000000..9daeafb986
--- /dev/null
+++ b/src/driclient/src/.gitignore
@@ -0,0 +1 @@
+test
diff --git a/src/driclient/src/Makefile b/src/driclient/src/Makefile
index 0fac552de5..3c0fc28440 100644
--- a/src/driclient/src/Makefile
+++ b/src/driclient/src/Makefile
@@ -12,6 +12,7 @@ all: ${TARGET} test
${TARGET}: ${OBJECTS}
ar rcs $@ $^
+ if ! test -d ../lib; then mkdir ../lib; fi
cp ${TARGET} ../lib
test: test.o
diff --git a/src/driclient/src/driclient.c b/src/driclient/src/driclient.c
index 7a7ca95702..94d01aca4f 100644
--- a/src/driclient/src/driclient.c
+++ b/src/driclient/src/driclient.c
@@ -285,8 +285,3 @@ int driDestroyContext(dri_context_t *dri_context)
return 0;
}
-int driCompareVersions(const dri_version_t *v1, const dri_version_t *v2)
-{
- return (v1->major == v2->major) && (v1->minor == v2->minor) && (v1->patch == v2->patch);
-}
-
diff --git a/src/driclient/src/test b/src/driclient/src/test
deleted file mode 100755
index 57cddf8e00..0000000000
--- a/src/driclient/src/test
+++ /dev/null
Binary files differ