summaryrefslogtreecommitdiffstats
path: root/src/driclient
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2008-07-23 02:28:02 -0400
committerYounes Manton <[email protected]>2008-07-23 02:28:41 -0400
commitb4d198e47704f3b79c5a61877846172ae9d4b4c0 (patch)
tree6a43cf0129fc9f4da482e69dd2621600e77b61d4 /src/driclient
parent39793a262f055adf49e6bbd7b74728f744074e8e (diff)
g3dvl: Minor fixes.
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 36438a9f790..d3915250392 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 00000000000..9daeafb9864
--- /dev/null
+++ b/src/driclient/src/.gitignore
@@ -0,0 +1 @@
+test
diff --git a/src/driclient/src/Makefile b/src/driclient/src/Makefile
index 0fac552de5b..3c0fc284409 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 7a7ca95702a..94d01aca4f9 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 57cddf8e00a..00000000000
--- a/src/driclient/src/test
+++ /dev/null
Binary files differ