mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 09:43:32 +08:00
Update.
* termios/cfsetspeed.c: Make code cleaner and add missing const. Patch by Joe Keane <jgk@jgk.org>.
This commit is contained in:
parent
c3f556889b
commit
8c0c3e6dc4
@ -1,5 +1,8 @@
|
||||
1998-04-24 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* termios/cfsetspeed.c: Make code cleaner and add missing const.
|
||||
Patch by Joe Keane <jgk@jgk.org>.
|
||||
|
||||
* inet/rcmd.c (__ivaliduser): Check buf for being NULL before
|
||||
free()ing.
|
||||
|
||||
|
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user