commit 0f222604054cdb3f7a73eeb07b8b074932383c8c
parent 3bc17ceebd8fc804368953bf19c3501e0e65048d
Author: Roberto Vargas <roberto.vargas@arm.com>
Date: Fri, 26 Apr 2019 15:01:30 +0100
[dev] Move seek constants to io.h
These are external interfaces and they should be
in io.h that is the file with the external interfaces.
Change-Id: Idb3bd349c45a093553303bd46874335b71b10682
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/rcode/io.h b/include/rcode/io.h
@@ -7,6 +7,10 @@
#define FILNAMLEN (2 + NAMELEN)
#define DIRLEN (STATLEN + FILNAMLEN + 3*ROOTLEN)
+#define RSEEK_SET 0
+#define RSEEK_CUR 1
+#define RSEEK_END 2
+
typedef struct dir Dir;
typedef unsigned short Qid;
diff --git a/include/rcode/rcode.h b/include/rcode/rcode.h
@@ -19,10 +19,6 @@
#define IENABLE 1
#define IDISABLE 0
-#define RSEEK_SET 0
-#define RSEEK_CUR 1
-#define RSEEK_END 2
-
enum regidx {
X0,
X1,