Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
be6e0f20
Commit
be6e0f20
authored
Nov 02, 1995
by
Per Cederqvist
Browse files
(strerror): Added a cast to avoid a warning.
parent
47c67e61
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libraries/libansi/strerror.c
View file @
be6e0f20
/*
* $Id: strerror.c,v 0.1
5
1995/
0
1/0
1
20:1
7:11
ceder Exp $
* $Id: strerror.c,v 0.1
6
1995/
1
1/0
2
20:1
9:24
ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -26,7 +26,7 @@
** strerror.c
*/
static
char
*
rcsid
=
"$Id: strerror.c,v 0.1
5
1995/
0
1/0
1
20:1
7:11
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: strerror.c,v 0.1
6
1995/
1
1/0
2
20:1
9:24
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -48,5 +48,5 @@ char *strerror(int eno)
return
buf
;
}
else
return
sys_errlist
[
eno
];
return
(
char
*
)
sys_errlist
[
eno
];
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment