Rados example application for blkin
PATCH 5/6 Rados example application for blkin
This code is Marios', with the following exceptions:
- split out example from other tracing changes
- whitespace issues have been fixed
- Makefile cleans up the new example
Signed-off-by Andrew Shewmaker <[email protected]>
--- examples/librados/Makefile | 5 +- examples/librados/hello_world.c | 107 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+), 2 deletions(-) create mode 100644 examples/librados/hello_world.c
examples/librados/Makefile +3 -2
@@ -1,5 +1,6 @@ -all: hello_world.cc +all: hello_world.cc hello_world.c + gcc hello_world.c -o hello -lrados -lblkin-front g++ -g -c hello_world.cc -o hello_world.o g++ -g hello_world.o -lrados -o librados_hello_world clean: - rm hello_world.o librados_hello_world + rm hello_world.o librados_hello_world hello
examples/librados/hello_world.c new file +107 -0
107 lines not on this page · raw message
Signature · 1 line
2.1.0