aboutsummaryrefslogtreecommitdiff
path: root/ramfs.h
diff options
context:
space:
mode:
authorvetch <vetch97@gmail.com>2020-01-04 19:37:32 +0100
committervetch <vetch97@gmail.com>2020-01-04 19:37:32 +0100
commit615e3302c9dd358bb64cd56d1f3814ad8d5df84d (patch)
tree07b0469807eb3bff7ff7d3f3576858642bc66675 /ramfs.h
parent885a097da42317f48cead2d91c0e0240066943a8 (diff)
downloadrpi-MMU-example-615e3302c9dd358bb64cd56d1f3814ad8d5df84d.tar.gz
rpi-MMU-example-615e3302c9dd358bb64cd56d1f3814ad8d5df84d.zip
rearranged files, updated makefile
Diffstat (limited to 'ramfs.h')
-rw-r--r--ramfs.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/ramfs.h b/ramfs.h
deleted file mode 100644
index cf45736..0000000
--- a/ramfs.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef RAMFS_H
-#define RAMFS_H
-
-struct ramfile
-{
- char *file_name;
- uint32_t file_size;
- char *file_contents;
-};
-
-// search for file named filename in ramfs;
-// If found - return 0 and fill buf fields with file's info.
-// Otherwise return a non-zero value.
-int find_file(void *ramfs, char *filename, struct ramfile *buf);
-
-#endif // RAMFS_H