diff options
Diffstat (limited to 'apps/systemcmds/reboot/reboot.c')
-rw-r--r-- | apps/systemcmds/reboot/reboot.c | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/apps/systemcmds/reboot/reboot.c b/apps/systemcmds/reboot/reboot.c index 2a4cb18d0..e8886139d 100644 --- a/apps/systemcmds/reboot/reboot.c +++ b/apps/systemcmds/reboot/reboot.c @@ -1,8 +1,7 @@ /**************************************************************************** - * apps/reboot.c * - * Copyright (C) 2012 Lorenz Meier. All rights reserved. - * Author: Lorenz Meier <lm@inf.ethz.ch> + * Copyright (C) 2012 PX4 Development Team. All rights reserved. + * Author: @author Lorenz Meier <lm@inf.ethz.ch> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -14,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be + * 3. Neither the name PX4 nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -33,10 +32,10 @@ * ****************************************************************************/ -/**************************************************************************** - * Included Files - ****************************************************************************/ - +/** + * @file reboot.c + * Tool similar to UNIX reboot command + */ #include <nuttx/config.h> #include <unistd.h> @@ -44,25 +43,8 @@ #include "systemlib/systemlib.h" - -/**************************************************************************** - * Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Public Functions - ****************************************************************************/ - __EXPORT int reboot_main(int argc, char *argv[]); -/**************************************************************************** - * user_start - ****************************************************************************/ - int reboot_main(int argc, char *argv[]) { reboot(); |