yaffsfs.c: Fix NULL dereference in yaffs_unmount2_reldev()
[yaffs2.git] / yaffs_nameval.h
index b0bd81c2f81795ed0f29e9bbb4dbaf65c8dac361..7dbdbb68aa2dd843742fa98d9bfd55044380e7f5 100644 (file)
@@ -1,8 +1,7 @@
 /*
  * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2011 Aleph One Ltd.
- *   for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
@@ -18,6 +17,8 @@
 
 #include "yportenv.h"
 
+struct yaffs_dev;
+
 int nval_del(struct yaffs_dev *dev, char *xb, int xb_size, const YCHAR * name);
 int nval_set(struct yaffs_dev *dev,
             char *xb, int xb_size, const YCHAR * name, const char *buf,