Delete unneded files
This commit is contained in:
parent
0990df017e
commit
30ec729f88
3 changed files with 0 additions and 46 deletions
1
BUGS
1
BUGS
|
@ -1 +0,0 @@
|
|||
* Xorg error when trying to intiate promptwin second time in one session - somewhat fixed, but needs further inspection
|
4
TODO
4
TODO
|
@ -1,4 +0,0 @@
|
|||
* replace pinentry's code with our own talker to gpg-agent
|
||||
* look over code and see what I broke while copypasting code from dmenu
|
||||
* get licenses in order
|
||||
* fallback TTY mode
|
41
arg.h
41
arg.h
|
@ -1,41 +0,0 @@
|
|||
/*
|
||||
* Copy me if you can.
|
||||
* by 20h
|
||||
*/
|
||||
|
||||
#ifndef __ARG_H__
|
||||
#define __ARG_H__
|
||||
|
||||
extern char *argv0;
|
||||
|
||||
#define USED(x) ((void)(x))
|
||||
|
||||
#define ARGBEGIN for (argv0 = *argv, argv++, argc--;\
|
||||
argv[0] && argv[0][1]\
|
||||
&& argv[0][0] == '-';\
|
||||
argc--, argv++) {\
|
||||
char _argc;\
|
||||
char **_argv;\
|
||||
if (argv[0][1] == '-' && argv[0][2] == '\0') {\
|
||||
argv++;\
|
||||
argc--;\
|
||||
break;\
|
||||
}\
|
||||
for (argv[0]++, _argv = argv; argv[0][0];\
|
||||
argv[0]++) {\
|
||||
if (_argv != argv)\
|
||||
break;\
|
||||
_argc = argv[0][0];\
|
||||
switch (_argc)
|
||||
|
||||
#define ARGEND }\
|
||||
USED(_argc);\
|
||||
}\
|
||||
USED(argv);\
|
||||
USED(argc);
|
||||
|
||||
#define EARGF(x) ((argv[1] == NULL)? ((x), abort(), (char *)0) :\
|
||||
(argc--, argv++, argv[0]))
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in a new issue