clang-format many files.
Test: Format-only changes; treehugger suffices.
Change-Id: I23cde3f0bbcac13bef555d13514e922c79d5ad48
diff --git a/Devmapper.h b/Devmapper.h
index 7bb9786..b1f6dfa 100644
--- a/Devmapper.h
+++ b/Devmapper.h
@@ -17,20 +17,19 @@
#ifndef _DEVMAPPER_H
#define _DEVMAPPER_H
-#include <unistd.h>
#include <linux/dm-ioctl.h>
+#include <unistd.h>
class Devmapper {
-public:
- static int create(const char *name, const char *loopFile, const char *key,
- unsigned long numSectors, char *buffer, size_t len);
- static int destroy(const char *name);
+ public:
+ static int create(const char* name, const char* loopFile, const char* key,
+ unsigned long numSectors, char* buffer, size_t len);
+ static int destroy(const char* name);
static int destroyAll();
-private:
- static void *_align(void *ptr, unsigned int a);
- static void ioctlInit(struct dm_ioctl *io, size_t data_size,
- const char *name, unsigned flags);
+ private:
+ static void* _align(void* ptr, unsigned int a);
+ static void ioctlInit(struct dm_ioctl* io, size_t data_size, const char* name, unsigned flags);
};
#endif