[PATCH 05/40] libmisc/serdbg: Manual header clean up

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Mar 7 13:23:03 UTC 2022


From: Joel Sherrill <joel at rtems.org>

Updates #4625.
---
 cpukit/libi2c/libi2c.c                 |  2 +-
 cpukit/libmisc/serdbg/serdbgio.c       | 38 ++++++++++----------------
 cpukit/libmisc/serdbg/termios_printk.c | 36 ++++++++++--------------
 3 files changed, 30 insertions(+), 46 deletions(-)

diff --git a/cpukit/libi2c/libi2c.c b/cpukit/libi2c/libi2c.c
index cee50af57d..b952a513ea 100644
--- a/cpukit/libi2c/libi2c.c
+++ b/cpukit/libi2c/libi2c.c
@@ -46,7 +46,7 @@
  */
 /*
  * adaptations to also handle SPI devices
- * by Thomas Doerfler, embedded brains GmbH, Puchheim, Germany
+ * by Thomas Doerfler, embedded brains GmbH
  */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
diff --git a/cpukit/libmisc/serdbg/serdbgio.c b/cpukit/libmisc/serdbg/serdbgio.c
index 5de2005472..068c137885 100644
--- a/cpukit/libmisc/serdbg/serdbgio.c
+++ b/cpukit/libmisc/serdbg/serdbgio.c
@@ -1,26 +1,18 @@
-/*===============================================================*\
-| File: serdbgio.c                                                |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2002 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|      Hebststr. 8, 82178 Puchheim, Germany                       |
-|      <Thomas.Doerfler at imd-systems.de>                           |
-|  The license and distribution terms for this file may be        |
-|  found in the file LICENSE in this distribution or at           |
-|  http://www.rtems.org/license/LICENSE.                     |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| TERMIOS serial gdb interface support                            |
-| the functions in this file allow the standard gdb stubs like    |
-| "m68k-stub.c" to access any serial interfaces that work with    |
-| RTEMS termios in polled mode                                    |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 10.05.02  creation                                         doe  |
-|*****************************************************************|
-\*===============================================================*/
+/*
+ * TERMIOS serial gdb interface support
+ * the functions in this file allow the standard gdb stubs like
+ * "m68k-stub.c" to access any serial interfaces that work with
+ * RTEMS termios in polled mode
+ */
+
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik 
+ * All rights reserved.
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.org/license/LICENSE.
+ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
diff --git a/cpukit/libmisc/serdbg/termios_printk.c b/cpukit/libmisc/serdbg/termios_printk.c
index 3da216f6e9..50124717e8 100644
--- a/cpukit/libmisc/serdbg/termios_printk.c
+++ b/cpukit/libmisc/serdbg/termios_printk.c
@@ -1,25 +1,17 @@
-/*===============================================================*\
-| File: termios_printk.c                                          |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2002 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|      Hebststr. 8, 82178 Puchheim, Germany                       |
-|      <Thomas.Doerfler at imd-systems.de>                           |
-|  The license and distribution terms for this file may be        |
-|  found in the file LICENSE in this distribution or at           |
-|  http://www.rtems.org/license/LICENSE.                     |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| TERMIOS printk support                                          |
-| this module performs low-level printk output using              |
-| a polled termios driver                                         |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 13.05.02  creation                                         doe  |
-|*****************************************************************|
-\*===============================================================*/
+/*
+ * TERMIOS printk support
+ * this module performs low-level printk output using
+ * a polled termios driver
+ */
+
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik 
+ * All rights reserved.
+ *
+ *  The license and distribution terms for this file may be
+ *  found in the file LICENSE in this distribution or at
+ *  http://www.rtems.org/license/LICENSE.
+ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-- 
2.34.1



More information about the devel mailing list