summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-09 18:40:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-09 18:40:27 +0000
commit37e825972748c9a74dbe666087aa3f418eab6b49 (patch)
tree4d52da746b26eae6be5a8df42c92590b1a219277 /c/src
parentAdded support for the Extended Baud Rate set control found in the (diff)
downloadrtems-37e825972748c9a74dbe666087aa3f418eab6b49.tar.bz2
Changed static to MC68681_STATIC to make all routines and data global
to ease debugging.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libchip/serial/mc68681_p.h31
-rw-r--r--c/src/libchip/serial/mc68681_p.h31
2 files changed, 40 insertions, 22 deletions
diff --git a/c/src/lib/libchip/serial/mc68681_p.h b/c/src/lib/libchip/serial/mc68681_p.h
index e9010199ff..4597415075 100644
--- a/c/src/lib/libchip/serial/mc68681_p.h
+++ b/c/src/lib/libchip/serial/mc68681_p.h
@@ -19,6 +19,15 @@ extern "C" {
#endif
/*
+ * Define MC68681_STATIC to nothing while debugging so the entry points
+ * will show up in the symbol table.
+ */
+
+#define MC68681_STATIC
+
+/* #define MC68681_STATIC static */
+
+/*
* mc68681 register offsets Read/Write Addresses
*/
@@ -234,49 +243,49 @@ typedef struct _mc68681_context
/*
* Driver functions
*/
-static boolean mc68681_probe(int minor);
+MC68681_STATIC boolean mc68681_probe(int minor);
-static int mc68681_set_attributes(
+MC68681_STATIC int mc68681_set_attributes(
int minor,
const struct termios *t
);
-static void mc68681_init(int minor);
+MC68681_STATIC void mc68681_init(int minor);
-static int mc68681_open(
+MC68681_STATIC int mc68681_open(
int major,
int minor,
void * arg
);
-static int mc68681_close(
+MC68681_STATIC int mc68681_close(
int major,
int minor,
void * arg
);
-static void mc68681_write_polled(
+MC68681_STATIC void mc68681_write_polled(
int minor,
char cChar
);
-static void mc68681_initialize_interrupts(int minor);
+MC68681_STATIC void mc68681_initialize_interrupts(int minor);
-static int mc68681_flush(int major, int minor, void *arg);
+MC68681_STATIC int mc68681_flush(int major, int minor, void *arg);
-static int mc68681_write_support_int(
+MC68681_STATIC int mc68681_write_support_int(
int minor,
const char *buf,
int len
);
-static int mc68681_write_support_polled(
+MC68681_STATIC int mc68681_write_support_polled(
int minor,
const char *buf,
int len
);
-static int mc68681_inbyte_nonblocking_polled(
+MC68681_STATIC int mc68681_inbyte_nonblocking_polled(
int minor
);
diff --git a/c/src/libchip/serial/mc68681_p.h b/c/src/libchip/serial/mc68681_p.h
index e9010199ff..4597415075 100644
--- a/c/src/libchip/serial/mc68681_p.h
+++ b/c/src/libchip/serial/mc68681_p.h
@@ -19,6 +19,15 @@ extern "C" {
#endif
/*
+ * Define MC68681_STATIC to nothing while debugging so the entry points
+ * will show up in the symbol table.
+ */
+
+#define MC68681_STATIC
+
+/* #define MC68681_STATIC static */
+
+/*
* mc68681 register offsets Read/Write Addresses
*/
@@ -234,49 +243,49 @@ typedef struct _mc68681_context
/*
* Driver functions
*/
-static boolean mc68681_probe(int minor);
+MC68681_STATIC boolean mc68681_probe(int minor);
-static int mc68681_set_attributes(
+MC68681_STATIC int mc68681_set_attributes(
int minor,
const struct termios *t
);
-static void mc68681_init(int minor);
+MC68681_STATIC void mc68681_init(int minor);
-static int mc68681_open(
+MC68681_STATIC int mc68681_open(
int major,
int minor,
void * arg
);
-static int mc68681_close(
+MC68681_STATIC int mc68681_close(
int major,
int minor,
void * arg
);
-static void mc68681_write_polled(
+MC68681_STATIC void mc68681_write_polled(
int minor,
char cChar
);
-static void mc68681_initialize_interrupts(int minor);
+MC68681_STATIC void mc68681_initialize_interrupts(int minor);
-static int mc68681_flush(int major, int minor, void *arg);
+MC68681_STATIC int mc68681_flush(int major, int minor, void *arg);
-static int mc68681_write_support_int(
+MC68681_STATIC int mc68681_write_support_int(
int minor,
const char *buf,
int len
);
-static int mc68681_write_support_polled(
+MC68681_STATIC int mc68681_write_support_polled(
int minor,
const char *buf,
int len
);
-static int mc68681_inbyte_nonblocking_polled(
+MC68681_STATIC int mc68681_inbyte_nonblocking_polled(
int minor
);