summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-02-11 20:34:12 -0700
committerJens Axboe <axboe@kernel.dk>2020-02-11 20:34:12 -0700
commite50243577946e152fed91133f78dd79c1e5c1141 (patch)
tree2e67549a0e4ba7f77a0e2712d6f0b036284e55f6 /examples
parent17d1876ee286c04c66cf18a08fe7be5dd2d52adf (diff)
downloadliburing-e50243577946e152fed91133f78dd79c1e5c1141.tar.gz
liburing-e50243577946e152fed91133f78dd79c1e5c1141.tar.bz2
Add SPDX license identifiers
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'examples')
-rw-r--r--examples/io_uring-cp.c1
-rw-r--r--examples/io_uring-test.c1
-rw-r--r--examples/link-cp.c1
-rw-r--r--examples/ucontext-cp.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/examples/io_uring-cp.c b/examples/io_uring-cp.c
index 455ca72..cc7a227 100644
--- a/examples/io_uring-cp.c
+++ b/examples/io_uring-cp.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* gcc -Wall -O2 -D_GNU_SOURCE -o io_uring-cp io_uring-cp.c -luring
*/
diff --git a/examples/io_uring-test.c b/examples/io_uring-test.c
index 4f5ebf6..1da8407 100644
--- a/examples/io_uring-test.c
+++ b/examples/io_uring-test.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* Simple app that demonstrates how to setup an io_uring interface,
* submit and complete IO against it, and then tear it down.
diff --git a/examples/link-cp.c b/examples/link-cp.c
index af80a2e..6fa54ac 100644
--- a/examples/link-cp.c
+++ b/examples/link-cp.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* Very basic proof-of-concept for doing a copy with linked SQEs. Needs a
* bit of error handling and short read love.
diff --git a/examples/ucontext-cp.c b/examples/ucontext-cp.c
index d521e94..d588a14 100644
--- a/examples/ucontext-cp.c
+++ b/examples/ucontext-cp.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* gcc -Wall -O2 -D_GNU_SOURCE -o ucontext-cp ucontext-cp.c -luring
*/