about summary refs log tree commit diff
path: root/termios
diff options
context:
space:
mode:
Diffstat (limited to 'termios')
-rw-r--r--termios/cfsetspeed.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/termios/cfsetspeed.c b/termios/cfsetspeed.c
index 91f420163e..d183f45c1e 100644
--- a/termios/cfsetspeed.c
+++ b/termios/cfsetspeed.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1993, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1993, 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -20,11 +20,13 @@
 #include <errno.h>
 #include <stddef.h>
 
-static struct speed_struct
+struct speed_struct
 {
   speed_t value;
   speed_t internal;
-} speeds[] =
+};
+
+static const struct speed_struct speeds[] =
   {
 #ifdef B0
     { 0, B0 },