sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-08-28 05:57:34 +00:00
commit 88965415ff
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
26235 changed files with 29195616 additions and 0 deletions

View file

@ -0,0 +1,19 @@
typedef struct LockStruct_s
{
char *cmdline_arg; /* mode name */
/* Maybe other things should be added here from xlock? */
/* Should read in XLock as well to set defaults */
char *desc; /* text description of mode */
} LockStruct;
static LockStruct LockProcs[] =
{
$%LISTMOTIF#ifdef USE_BOMB
{(char *) "bomb", (char *) "Shows a bomb and will autologout after a time"},
{(char *) "random", (char *) "Shows a random mode (except blank and bomb)"}
#else
{(char *) "random", (char *) "Shows a random mode (except blank)"}
#endif
};
#define numprocs (sizeof(LockProcs) /sizeof(LockProcs[0]))