style: remove extra spaces and align parameters
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
187def2611
commit
1b801a5bbc
|
@ -128,7 +128,7 @@ static struct bt_driver_s g_blehci_driver =
|
|||
.send = stm32wb_blehci_driversend
|
||||
};
|
||||
|
||||
static mutex_t g_lock = NXMUTEX_INITIALIZER;
|
||||
static mutex_t g_lock = NXMUTEX_INITIALIZER;
|
||||
struct work_s g_drv_init_work;
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -262,8 +262,8 @@ static int elf_loadbinary(FAR struct binary_s *binp,
|
|||
{
|
||||
if (nexports > 0)
|
||||
{
|
||||
berr("Cannot bind exported symbols to a "\
|
||||
"fully linked executable\n");
|
||||
berr("Cannot bind exported symbols to a "
|
||||
"fully linked executable\n");
|
||||
ret = -ENOEXEC;
|
||||
goto errout_with_load;
|
||||
}
|
||||
|
@ -275,8 +275,8 @@ static int elf_loadbinary(FAR struct binary_s *binp,
|
|||
|
||||
else
|
||||
{
|
||||
berr("Unexpected elf type %d\n", loadinfo.ehdr.e_type);
|
||||
ret = -ENOEXEC;
|
||||
berr("Unexpected elf type %d\n", loadinfo.ehdr.e_type);
|
||||
ret = -ENOEXEC;
|
||||
}
|
||||
|
||||
/* Return the load information */
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
static const char g_elfmagic[EI_MAGIC_SIZE] =
|
||||
{
|
||||
0x7f, 'E', 'L', 'F'
|
||||
0x7f, 'E', 'L', 'F'
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -92,7 +92,7 @@ int elf_verifyheader(FAR const Elf_Ehdr *ehdr)
|
|||
if ((ehdr->e_type != ET_REL) && (ehdr->e_type != ET_EXEC))
|
||||
{
|
||||
berr("Not a relocatable or executable file: e_type=%d\n",
|
||||
ehdr->e_type);
|
||||
ehdr->e_type);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
@ -108,27 +108,27 @@ do \
|
|||
* if so, free all resources of this node.
|
||||
*/
|
||||
|
||||
static struct wdog_s g_wdfragtimeout;
|
||||
static struct wdog_s g_wdfragtimeout;
|
||||
|
||||
/* Reassembly timeout work */
|
||||
|
||||
static struct work_s g_wkfragtimeout;
|
||||
static struct work_s g_wkfragtimeout;
|
||||
|
||||
/* Remember the number of I/O buffers currently in reassembly cache */
|
||||
|
||||
static uint8_t g_bufoccupy;
|
||||
static uint8_t g_bufoccupy;
|
||||
|
||||
/* Queue header definition, it links all fragments of all NICs by ascending
|
||||
* ipid.
|
||||
*/
|
||||
|
||||
static sq_queue_t g_assemblyhead_ipid;
|
||||
static sq_queue_t g_assemblyhead_ipid;
|
||||
|
||||
/* Queue header definition, which connects all fragments of all NICs in order
|
||||
* of addition time.
|
||||
*/
|
||||
|
||||
static sq_queue_t g_assemblyhead_time;
|
||||
static sq_queue_t g_assemblyhead_time;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
|
@ -138,7 +138,7 @@ static sq_queue_t g_assemblyhead_time;
|
|||
* at a time.
|
||||
*/
|
||||
|
||||
mutex_t g_ipfrag_lock = NXMUTEX_INITIALIZER;
|
||||
mutex_t g_ipfrag_lock = NXMUTEX_INITIALIZER;
|
||||
|
||||
/****************************************************************************
|
||||
* Private Function Prototypes
|
||||
|
|
|
@ -151,7 +151,7 @@ extern "C"
|
|||
* at a time
|
||||
*/
|
||||
|
||||
extern mutex_t g_ipfrag_lock;
|
||||
extern mutex_t g_ipfrag_lock;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int nxsig_queue (int pid, int signo, union sigval value)
|
||||
int nxsig_queue(int pid, int signo, union sigval value)
|
||||
{
|
||||
#ifdef CONFIG_SCHED_HAVE_PARENT
|
||||
FAR struct tcb_s *rtcb = this_task();
|
||||
|
@ -143,7 +143,7 @@ int nxsig_queue (int pid, int signo, union sigval value)
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int sigqueue (int pid, int signo, union sigval value)
|
||||
int sigqueue(int pid, int signo, union sigval value)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
Loading…
Reference in New Issue