From 33c3b54d57b50ac3d236e2660556a9a2ecb8dcad Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 29 Nov 2009 11:57:23 +0000 Subject: Whitespace removal. --- cpukit/include/rtems/bsd/sys/queue.h | 4 ++-- cpukit/include/rtems/bspIo.h | 2 +- cpukit/include/rtems/fs.h | 8 ++++---- cpukit/include/rtems/irq.h | 2 +- cpukit/include/rtems/pci.h | 6 +++--- cpukit/include/rtems/userenv.h | 10 +++++----- 6 files changed, 16 insertions(+), 16 deletions(-) (limited to 'cpukit/include') diff --git a/cpukit/include/rtems/bsd/sys/queue.h b/cpukit/include/rtems/bsd/sys/queue.h index a8579ced09..4869f730e6 100644 --- a/cpukit/include/rtems/bsd/sys/queue.h +++ b/cpukit/include/rtems/bsd/sys/queue.h @@ -142,12 +142,12 @@ struct name { \ #define SLIST_HEAD_INITIALIZER(head) \ { NULL } - + #define SLIST_ENTRY(type) \ struct { \ struct type *sle_next; /* next element */ \ } - + /* * Singly-linked List functions. */ diff --git a/cpukit/include/rtems/bspIo.h b/cpukit/include/rtems/bspIo.h index 0fb1ee1ca1..35492788a2 100644 --- a/cpukit/include/rtems/bspIo.h +++ b/cpukit/include/rtems/bspIo.h @@ -62,7 +62,7 @@ extern void putk(const char *s); * as they see fit. */ extern int printk_plugin(void *context, const char *fmt, ...); - + /* * Type definition for function which can be plugged in to * certain reporting routines to redirect the output diff --git a/cpukit/include/rtems/fs.h b/cpukit/include/rtems/fs.h index 888c13f1b4..e86ca5dafe 100644 --- a/cpukit/include/rtems/fs.h +++ b/cpukit/include/rtems/fs.h @@ -24,7 +24,7 @@ extern "C" { /* Forward declarations */ -/* FIXME: shouldn't this better not be here? */ +/* FIXME: shouldn't this better not be here? */ typedef struct rtems_libio_tt rtems_libio_t; typedef struct rtems_filesystem_location_info_tt @@ -34,15 +34,15 @@ struct rtems_filesystem_mount_table_entry_tt; typedef struct rtems_filesystem_mount_table_entry_tt rtems_filesystem_mount_table_entry_t; -typedef struct _rtems_filesystem_file_handlers_r +typedef struct _rtems_filesystem_file_handlers_r rtems_filesystem_file_handlers_r; -typedef struct _rtems_filesystem_operations_table +typedef struct _rtems_filesystem_operations_table rtems_filesystem_operations_table; /* * Structure used to determine a location/filesystem in the tree. */ - + struct rtems_filesystem_location_info_tt { void *node_access; diff --git a/cpukit/include/rtems/irq.h b/cpukit/include/rtems/irq.h index 2199c41447..9faab7da22 100644 --- a/cpukit/include/rtems/irq.h +++ b/cpukit/include/rtems/irq.h @@ -34,7 +34,7 @@ extern "C" { typedef unsigned char rtems_irq_prio; struct __rtems_irq_connect_data__; /* forward declaratiuon */ -typedef unsigned int rtems_irq_number; +typedef unsigned int rtems_irq_number; typedef void *rtems_irq_hdl_param; typedef void (*rtems_irq_hdl) (rtems_irq_hdl_param); typedef void (*rtems_irq_enable) (const struct __rtems_irq_connect_data__*); diff --git a/cpukit/include/rtems/pci.h b/cpukit/include/rtems/pci.h index a786b49596..16a20eeace 100644 --- a/cpukit/include/rtems/pci.h +++ b/cpukit/include/rtems/pci.h @@ -1174,10 +1174,10 @@ pci_read_config_dword( static inline int pci_write_config_byte( - unsigned char bus, - unsigned char slot, + unsigned char bus, + unsigned char slot, unsigned char function, - unsigned char where, + unsigned char where, uint8_t val) { return BSP_pci_configuration.pci_functions->write_config_byte( diff --git a/cpukit/include/rtems/userenv.h b/cpukit/include/rtems/userenv.h index 80fb7897ec..b16374a6dc 100644 --- a/cpukit/include/rtems/userenv.h +++ b/cpukit/include/rtems/userenv.h @@ -26,7 +26,7 @@ extern "C" { */ /* - * According to IEEE Std 1003.1-2001, + * According to IEEE Std 1003.1-2001, * limits.h is supposed to provide _POSIX_LOGIN_NAME_MAX * FIXME: We should not rely on this. */ @@ -42,7 +42,7 @@ extern "C" { #endif typedef struct { - rtems_id task_id; + rtems_id task_id; rtems_filesystem_location_info_t current_directory; rtems_filesystem_location_info_t root_directory; /* Default mode for all files. */ @@ -58,8 +58,8 @@ typedef struct { pid_t pgrp; /* process group id */ } rtems_user_env_t; -extern rtems_user_env_t * rtems_current_user_env; -extern rtems_user_env_t rtems_global_user_env; +extern rtems_user_env_t * rtems_current_user_env; +extern rtems_user_env_t rtems_global_user_env; #define rtems_filesystem_current (rtems_current_user_env->current_directory) #define rtems_filesystem_root (rtems_current_user_env->root_directory) @@ -79,7 +79,7 @@ extern rtems_user_env_t rtems_global_user_env; rtems_status_code rtems_libio_set_private_env(void); rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ; - + #ifdef __cplusplus } #endif -- cgit v1.2.3