]> git.proxmox.com Git - mirror_qemu.git/blobdiff - fsdev/9p-marshal.h
checkpatch: suggest qemu_real_host_page_size instead of getpagesize() or sysconf...
[mirror_qemu.git] / fsdev / 9p-marshal.h
index 77f7fef326ee0faed7d254b7600cd48219dfc601..8f3babb60a05ee5336001b5c6d0e46565c7821ae 100644 (file)
@@ -9,9 +9,9 @@ typedef struct V9fsString
 
 typedef struct V9fsQID
 {
-    int8_t type;
-    int32_t version;
-    int64_t path;
+    uint8_t type;
+    uint32_t version;
+    uint64_t path;
 } V9fsQID;
 
 typedef struct V9fsStat
@@ -76,8 +76,8 @@ static inline void v9fs_string_init(V9fsString *str)
     str->data = NULL;
     str->size = 0;
 }
-extern void v9fs_string_free(V9fsString *str);
-extern void v9fs_string_sprintf(V9fsString *str, const char *fmt, ...);
-extern void v9fs_string_copy(V9fsString *lhs, V9fsString *rhs);
+void v9fs_string_free(V9fsString *str);
+void v9fs_string_sprintf(V9fsString *str, const char *fmt, ...);
+void v9fs_string_copy(V9fsString *lhs, V9fsString *rhs);
 
 #endif