diff options
-rw-r--r-- | http/ChangeLog | 4 | ||||
-rw-r--r-- | http/init.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/http/ChangeLog b/http/ChangeLog index 815be6d..ea6bbe7 100644 --- a/http/ChangeLog +++ b/http/ChangeLog @@ -1,5 +1,9 @@ 2007-09-04 Joel Sherrill <joel.sherrill@oarcorp.com> + * init.c: Remove TARFILE_XXX macros. + +2007-09-04 Joel Sherrill <joel.sherrill@oarcorp.com> + * Makefile: Use bin2c to more reliably turn the tarfile into a linkable object file. Ignore .cvsignore when making tarfile. * init.c: Clean up tarfile symbol definitions. diff --git a/http/init.c b/http/init.c index 872a6bb..f6f64d3 100644 --- a/http/init.c +++ b/http/init.c @@ -56,8 +56,6 @@ * The tarfile image is built automatically externally. */ #include "FilesystemImage.h" -#define TARFILE_START FilesystemImage -#define TARFILE_SIZE FilesystemImage_size #if defined(USE_FTPD) boolean FTPD_enabled = TRUE; @@ -110,7 +108,7 @@ rtems_task Init( * Load filesystem image */ printf("Loading filesystem image"); - status = Untar_FromMemory((void *)(&TARFILE_START), (size_t)&TARFILE_SIZE); + status = Untar_FromMemory( (char *)FilesystemImage, FilesystemImage_size ); printf("Initializing Network"); rtems_bsdnet_initialize_network (); |