diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-21 10:30:39 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-21 10:30:39 +0000 |
commit | f2386f6a22c55842203278c5b1f9691c5ac5f8fd (patch) | |
tree | b7f318640fa8ff688925eab4fe544d41f3dd019a /demos/ARM7-AT91SAM7X-FATFS-GCC | |
parent | 25d2722b09c5ed808fbb5b09bafc94f253da2479 (diff) | |
download | ChibiOS-f2386f6a22c55842203278c5b1f9691c5ac5f8fd.tar.gz ChibiOS-f2386f6a22c55842203278c5b1f9691c5ac5f8fd.tar.bz2 ChibiOS-f2386f6a22c55842203278c5b1f9691c5ac5f8fd.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2515 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-FATFS-GCC')
-rw-r--r-- | demos/ARM7-AT91SAM7X-FATFS-GCC/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/demos/ARM7-AT91SAM7X-FATFS-GCC/main.c b/demos/ARM7-AT91SAM7X-FATFS-GCC/main.c index 5708cb3b3..3c3f2aae4 100644 --- a/demos/ARM7-AT91SAM7X-FATFS-GCC/main.c +++ b/demos/ARM7-AT91SAM7X-FATFS-GCC/main.c @@ -276,7 +276,7 @@ static void RemoveHandler(eventid_t id) { /*
* Application entry point.
*/
-int main(int argc, char **argv) {
+int main(void) {
static const evhandler_t evhndl[] = {
InsertHandler,
RemoveHandler
@@ -284,9 +284,6 @@ int main(int argc, char **argv) { Thread *shelltp = NULL;
struct EventListener el0, el1;
- (void)argc;
- (void)argv;
-
/*
* System initializations.
* - HAL initialization, this also initializes the configured device drivers
|