summaryrefslogtreecommitdiff
path: root/xenodm
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2016-09-05 21:33:34 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:33 +0200
commit34075a4294e0c862feb8bc0ce2dee8f9f9dc581a (patch)
tree07ae57d6992f85f9d22756992a4ba3efdea093e0 /xenodm
parent76631bd5214378ea81070eddf0962be306d5ac1a (diff)
Remove unused stuff
Diffstat (limited to 'xenodm')
-rw-r--r--xenodm/mitauth.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/xenodm/mitauth.c b/xenodm/mitauth.c
index 51bf4cb..ed83790 100644
--- a/xenodm/mitauth.c
+++ b/xenodm/mitauth.c
@@ -36,20 +36,15 @@ from The Open Group.
* for MIT-MAGIC-COOKIE-1 type authorization
*/
-#include <X11/Xos.h>
-
#include "dm.h"
#include "dm_auth.h"
#define AUTH_DATA_LEN 16 /* bytes of authorization data */
-static char auth_name[256];
void
MitInitAuth (unsigned short name_len, char *name)
{
- if (name_len > 256)
- name_len = 256;
- memmove( auth_name, name, name_len);
+ /* nothing to do */
}
Xauth *