aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/serial.h')
-rw-r--r--include/osmocom/core/serial.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/osmocom/core/serial.h b/include/osmocom/core/serial.h
index 39614a47..0ac29681 100644
--- a/include/osmocom/core/serial.h
+++ b/include/osmocom/core/serial.h
@@ -14,10 +14,6 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/*! \defgroup serial Utility functions to deal with serial ports
@@ -32,5 +28,6 @@ int osmo_serial_init(const char *dev, speed_t baudrate);
int osmo_serial_set_baudrate(int fd, speed_t baudrate);
int osmo_serial_set_custom_baudrate(int fd, int baudrate);
int osmo_serial_clear_custom_baudrate(int fd);
+int osmo_serial_speed_t(unsigned int baudrate, speed_t *speed);
/*! @} */