1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Merge pull request #10 from aweeraman/debian-patches-1

Fixes for implicit declaration warnings

This is to upstream some minor fixes for implicit declaration warnings currently in Debian.

Author: Anuradha Weeraman aweeraman@gmail.com
Reviewed-By: Thorsten Glaser t.glaser@tarent.de
Last-Update: 2020-02-09
This commit is contained in:
Martijn Dekker 2020-06-14 16:43:37 +01:00 committed by GitHub
commit ff01ecdaba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 4 deletions

View file

@ -185,6 +185,10 @@
# endif /* !FIORDCHK */
#endif /* FIONREAD */
#if _sys_ioctl
#include <sys/ioctl.h>
#endif
extern int tty_alt(int);
extern void tty_cooked(int);
extern int tty_get(int,struct termios*);

View file

@ -29,6 +29,10 @@
#include <ast.h>
#include <ast_tty.h>
#if _sys_ioctl
#include <sys/ioctl.h>
#endif
#if defined(__STDPP__directive) && defined(__STDPP__hide)
__STDPP__directive pragma pp:hide ioctl sleep
#else
@ -36,10 +40,6 @@ __STDPP__directive pragma pp:hide ioctl sleep
#define sleep ______sleep
#endif
#if _sys_ioctl
#include <sys/ioctl.h>
#endif
#if defined(TIOCGWINSZ)
#if _sys_stream && _sys_ptem
#include <sys/stream.h>

View file

@ -104,6 +104,7 @@ USAGE_LICENSE
#include <ls.h>
#include <tv.h>
#include <rev.h>
#include <time.h>
#define COUNT (1<<0)
#define ERROR (1<<1)