diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2016-09-04 21:42:16 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2016-09-04 21:42:16 +0100 |
commit | 69a28d6771241b82dd4e2a9c78e838682562a03c (patch) | |
tree | 40b215171b397f8c1bae487dc265a9c1fcde32a9 | |
parent | 9403500d67e9e10aa06f30e934e0a5b1d4c76437 (diff) |
Remove a few fields used only by the dynamic greeter
-rw-r--r-- | include/dm.h | 4 | ||||
-rw-r--r-- | xenodm/dpylist.c | 1 | ||||
-rw-r--r-- | xenodm/session.c | 5 |
3 files changed, 0 insertions, 10 deletions
diff --git a/include/dm.h b/include/dm.h index 509a2b8..58b533a 100644 --- a/include/dm.h +++ b/include/dm.h @@ -166,7 +166,6 @@ struct display { int authNum; /* number of authorizations */ char *authFile; /* file to store authorization in */ - int version; /* to keep dynamic greeter clued in */ /* add new fields only after here. And preferably at the end. */ Display *dpy; /* Display */ @@ -197,8 +196,6 @@ struct greet_info { char *name; /* user name */ char *password; /* user password */ char *string; /* random string */ - char *passwd; /* binary compat with DEC */ - int version; /* for dynamic greeter to see */ /* add new fields below this line, and preferably at the end */ Boolean allow_null_passwd; /* allow null password on login */ Boolean allow_root_login; /* allow direct root login */ @@ -212,7 +209,6 @@ struct verify_info { char **argv; /* arguments to session */ char **userEnviron; /* environment for session */ char **systemEnviron;/* environment for startup/reset */ - int version; /* for dynamic greeter to see */ /* add new fields below this line, and preferably at the end */ }; diff --git a/xenodm/dpylist.c b/xenodm/dpylist.c index 74fa734..da77927 100644 --- a/xenodm/dpylist.c +++ b/xenodm/dpylist.c @@ -208,7 +208,6 @@ NewDisplay (char *name, char *class) d->reservTries = 0; d->terminateServer = 0; d->grabTimeout = 0; - d->version = 1; /* registered with The Open Group */ d->dpy = NULL; d->windowPath = NULL; displays = d; diff --git a/xenodm/session.c b/xenodm/session.c index e225504..9eda414 100644 --- a/xenodm/session.c +++ b/xenodm/session.c @@ -194,11 +194,6 @@ ManageSession (struct display *d) greet_user_proc = GreetUser; - /* tell the possibly dynamically loaded greeter function - * what data structure formats to expect. - * These version numbers are registered with The Open Group. */ - verify.version = 1; - greet.version = 1; greet_stat = (*greet_user_proc)(d, &dpy, &verify, &greet, &dlfuncs); if (greet_stat == Greet_Success) { |