sched/: Review and correct some stylistic inconsistencies

This commit is contained in:
Gregory Nutt
2016-08-07 08:32:11 -06:00
parent 18ce4ff57b
commit 3404b3cb4a
3 changed files with 33 additions and 33 deletions
+12 -12
View File
@@ -1,4 +1,4 @@
/********************************************************************************
/****************************************************************************
* sched/clock/clock.h
*
* Copyright (C) 2007-2009, 2014 Gregory Nutt. All rights reserved.
@@ -31,14 +31,14 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
********************************************************************************/
****************************************************************************/
#ifndef __SCHED_CLOCK_CLOCK_H
#define __SCHED_CLOCK_CLOCK_H
/********************************************************************************
/****************************************************************************
* Included Files
********************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
@@ -47,9 +47,9 @@
#include <nuttx/clock.h>
#include <nuttx/compiler.h>
/********************************************************************************
/****************************************************************************
* Pre-processor Definitions
********************************************************************************/
****************************************************************************/
/* Configuration ************************************************************/
/* If CONFIG_SYSTEM_TIME64 is selected and the CPU supports long long types,
* then a 64-bit system time will be used.
@@ -59,13 +59,13 @@
# undef CONFIG_SYSTEM_TIME64
#endif
/********************************************************************************
/****************************************************************************
* Public Type Definitions
********************************************************************************/
****************************************************************************/
/********************************************************************************
/****************************************************************************
* Public Data
********************************************************************************/
****************************************************************************/
#if !defined(CONFIG_SCHED_TICKLESS) && !defined(__HAVE_KERNEL_GLOBALS)
/* The system clock exists (CONFIG_SCHED_TICKLESS), but it not prototyped
@@ -83,9 +83,9 @@ extern volatile uint32_t g_system_timer;
extern struct timespec g_basetime;
#endif
/********************************************************************************
/****************************************************************************
* Public Function Prototypes
********************************************************************************/
****************************************************************************/
void weak_function clock_initialize(void);
#ifndef CONFIG_SCHED_TICKLESS
+6 -6
View File
@@ -1,4 +1,4 @@
/********************************************************************************
/****************************************************************************
* sched/clock/clock_timekeeping.h
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
@@ -31,14 +31,14 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
********************************************************************************/
****************************************************************************/
#ifndef __SCHED_CLOCK_CLOCK_TIMEKEEPING_H
#define __SCHED_CLOCK_CLOCK_TIMEKEEPING_H
/********************************************************************************
/****************************************************************************
* Included Files
********************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
@@ -47,9 +47,9 @@
#include <nuttx/clock.h>
/********************************************************************************
/****************************************************************************
* Public Function Prototypes
********************************************************************************/
****************************************************************************/
int clock_timekeeping_get_monotonic_time(FAR struct timespec *ts);
int clock_timekeeping_get_wall_time(FAR struct timespec *ts);