Commit 510d4f06 authored by Érico Nogueira Rolim's avatar Érico Nogueira Rolim

sdbfs: fix discarded qualifier warnings for users

When assigning a name to the sdbfs struct, it's usual to use a static
string. Unfortunately, this generates warnings about discarded
qualifiers. We can fix that issue by making the struct member a const
char pointer.
parent 77e499c3
......@@ -32,7 +32,7 @@
struct sdbfs {
/* Some fields are informative */
char *name; /* may be null */
const char *name; /* may be null */
void *drvdata; /* driver may need some detail.. */
unsigned long blocksize;
unsigned long entrypoint;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment