This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed] Fix name of ser_base_setstopbits's second argument.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Yurij Grechishhev <yurij dot grechishhev at gmail dot com>
- Date: Tue, 17 Mar 2015 10:14:35 -0400
- Subject: [pushed] Fix name of ser_base_setstopbits's second argument.
- Authentication-results: sourceware.org; auth=none
Small copy/paste error, most likely...
gdb/ChangeLog:
* ser-base.h (ser_base_setstopbits): Change second argument name
from "rate" to "num".
Pushed.
---
gdb/ChangeLog | 5 +++++
gdb/ser-base.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 10abae0..ca8bbaf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-17 Yurij Grechishhev <yurij.grechishhev@gmail.com>
+
+ * ser-base.h (ser_base_setstopbits): Change second argument name
+ from "rate" to "num".
+
2015-03-17 Gary Benson <gbenson@redhat.com>
Luke Allardyce <lukeallardyce@gmail.com>
diff --git a/gdb/ser-base.h b/gdb/ser-base.h
index 2aba66d..6aac925 100644
--- a/gdb/ser-base.h
+++ b/gdb/ser-base.h
@@ -42,7 +42,7 @@ extern int ser_base_noflush_set_tty_state (struct serial *scb,
serial_ttystate new_ttystate,
serial_ttystate old_ttystate);
extern int ser_base_setbaudrate (struct serial *scb, int rate);
-extern int ser_base_setstopbits (struct serial *scb, int rate);
+extern int ser_base_setstopbits (struct serial *scb, int num);
extern int ser_base_drain_output (struct serial *scb);
extern int ser_base_write (struct serial *scb, const void *buf, size_t count);
--
1.9.1