summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2014-12-04 14:39:36 -0800
committerAaron Plattner <aplattner@nvidia.com>2014-12-04 14:39:36 -0800
commit240ef2b696bcb4d89b330a9aa42f195788b37a09 (patch)
tree4d7fe52355ac19c21f4c3322f1b2d2d2e6a33dc5
parent78d89d28e2817f27b260957d6ccea4c0bc65aa9b (diff)
304.125304.125
-rw-r--r--XF86Config-parser/Generate.c18
-rw-r--r--version.mk2
2 files changed, 2 insertions, 18 deletions
diff --git a/XF86Config-parser/Generate.c b/XF86Config-parser/Generate.c
index 0705b39..31d709c 100644
--- a/XF86Config-parser/Generate.c
+++ b/XF86Config-parser/Generate.c
@@ -1313,13 +1313,10 @@ static char *xconfigGetDefaultProjectRoot(void)
* get_xserver_information() - parse the versionString (from `X
* -version`) and assign relevant information that we infer from the X
* server version.
- *
- * Note: this implementation should be shared with nvidia-installer
*/
static int get_xserver_information(const char *versionString,
int *isXorg,
- int *isModular,
int *autoloadsGLX,
int *supportsExtensionSection)
{
@@ -1333,7 +1330,6 @@ static int get_xserver_information(const char *versionString,
if (strstr(versionString, "XFree86 Version")) {
*isXorg = FALSE;
- *isModular = FALSE;
*autoloadsGLX = FALSE;
*supportsExtensionSection = FALSE;
return TRUE;
@@ -1363,17 +1359,6 @@ static int get_xserver_information(const char *versionString,
if (!found) return FALSE;
/*
- * isModular: X.Org X11R6.x X servers are monolithic, all others
- * are modular
- */
-
- if (major == 6) {
- *isModular = FALSE;
- } else {
- *isModular = TRUE;
- }
-
- /*
* supportsExtensionSection: support for the "Extension" xorg.conf
* section was added between X.Org 6.7 and 6.8. To account for
* the X server version wrap, it is easier to check for X servers
@@ -1430,7 +1415,7 @@ void xconfigGetXServerInUse(GenerateOptions *gop)
FILE *stream = NULL;
int xserver = -1;
int isXorg;
- int dummy, len, found;
+ int len, found;
char *cmd, *ptr, *ret;
gop->supports_extension_section = FALSE;
@@ -1462,7 +1447,6 @@ void xconfigGetXServerInUse(GenerateOptions *gop)
found = get_xserver_information(buf,
&isXorg,
- &dummy, /* isModular */
&gop->autoloads_glx,
&gop->supports_extension_section);
diff --git a/version.mk b/version.mk
index 17a52e5..9eef500 100644
--- a/version.mk
+++ b/version.mk
@@ -1 +1 @@
-NVIDIA_VERSION = 304.123
+NVIDIA_VERSION = 304.125