[mw-devel] MW3 r1335 - trunk/src
arthur at sucs.org
arthur at sucs.org
Thu May 23 09:34:30 BST 2013
Author: arthur
Date: 2013-05-23 09:34:30 +0100 (Thu, 23 May 2013)
New Revision: 1335
Modified:
trunk/src/sizes.c
Log:
update the struct sizes util
Modified: trunk/src/sizes.c
===================================================================
--- trunk/src/sizes.c 2013-05-22 19:44:28 UTC (rev 1334)
+++ trunk/src/sizes.c 2013-05-23 08:34:30 UTC (rev 1335)
@@ -1,13 +1,19 @@
-#include "bb.h"
-#include "user.h"
-#include "files.h"
-#include "folders.h"
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
-void addmap(char *map, char *name, char key,
+#include "bb.h"
+#include "user.h"
+#include "files.h"
+#include "folders.h"
+#include "mesg.h"
+
+void addmap(char *map, const char *name, char key, unsigned long size, void * offset, void * base);
+void showmap(const char *map, unsigned long size);
+
+
+void addmap(char *map, const char *name, char key,
unsigned long size, void * offset, void * base)
{
int i;
@@ -17,7 +23,7 @@
map[i]=key;
}
-void showmap(char *map, unsigned long size)
+void showmap(const char *map, unsigned long size)
{
int i;
printf("memmap: ");
More information about the mw-devel
mailing list