aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/uuidgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/uuidgen.c')
-rw-r--r--toys/pending/uuidgen.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/toys/pending/uuidgen.c b/toys/pending/uuidgen.c
deleted file mode 100644
index 682dec4c..00000000
--- a/toys/pending/uuidgen.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* uuidgen.c - Create a new random UUID
- *
- * Copyright 2018 The Android Open Source Project
- *
- * UUID RFC: https://tools.ietf.org/html/rfc4122
-
-USE_UUIDGEN(NEWTOY(uuidgen, ">0r(random)", TOYFLAG_USR|TOYFLAG_BIN))
-
-config UUIDGEN
- bool "uuidgen"
- default n
- help
- usage: uuidgen
-
- Create and print a new RFC4122 random UUID.
-*/
-
-#define FOR_uuidgen
-#include "toys.h"
-
-void uuidgen_main(void)
-{
- create_uuid(toybuf);
- puts(show_uuid(toybuf));
-}