summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/pty.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/pty.h')
-rw-r--r--cpukit/include/rtems/pty.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/cpukit/include/rtems/pty.h b/cpukit/include/rtems/pty.h
index 94b66d63c4..e9303a1be3 100644
--- a/cpukit/include/rtems/pty.h
+++ b/cpukit/include/rtems/pty.h
@@ -1,8 +1,11 @@
+/**
+ * @file
+ *
+ * @brief /dev/ptyXX (A first version for pseudo-terminals)
+ */
+
/*
- * /dev/ptyXX (A first version for pseudo-terminals)
- *
- * Author: Fernando RUIZ CASAS (fernando.ruiz@ctv.es)
- * May 2001
+ * Copyright (c) 2001 Fernando Ruiz Casas <fruizcasas@gmail.com>
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -36,7 +39,7 @@ typedef struct {
const char *rtems_pty_initialize(rtems_pty_context *pty, uintptr_t unique);
-RTEMS_INLINE_ROUTINE const char *rtems_pty_get_path(const rtems_pty_context *pty)
+static inline const char *rtems_pty_get_path(const rtems_pty_context *pty)
{
return pty->name;
}