Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 04:31:41 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:05 +0300
commit6783860a2e4e4183c073f62e4bb938cea0e096c3 (patch)
treeab2289b4902fdfc7266edcb8bcfbd8f5601948bd /libgloss/ft32
parent1e39db3062f941778e748f833e1f88dd5c7399a3 (diff)
ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'libgloss/ft32')
-rw-r--r--libgloss/ft32/fstat.c2
-rw-r--r--libgloss/ft32/isatty.c2
-rw-r--r--libgloss/ft32/kill.c2
-rw-r--r--libgloss/ft32/sim-lseek.S4
-rw-r--r--libgloss/ft32/sim-lseek.c4
-rw-r--r--libgloss/ft32/sim-time.c2
-rw-r--r--libgloss/ft32/stat.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/libgloss/ft32/fstat.c b/libgloss/ft32/fstat.c
index 77058b2d1..0bd432e58 100644
--- a/libgloss/ft32/fstat.c
+++ b/libgloss/ft32/fstat.c
@@ -20,7 +20,7 @@
*/
int
_DEFUN (_fstat, (fd, buf),
- int fd _AND
+ int fd,
struct stat *buf)
{
buf->st_mode = S_IFCHR; /* Always pretend to be a tty */
diff --git a/libgloss/ft32/isatty.c b/libgloss/ft32/isatty.c
index 449410ebe..fd2d73760 100644
--- a/libgloss/ft32/isatty.c
+++ b/libgloss/ft32/isatty.c
@@ -17,7 +17,7 @@
/*
* isatty -- returns 1 if connected to a terminal device,
* returns 0 if not. Since we're hooked up to a
- * serial port, we'll say yes _AND return a 1.
+ * serial port, we'll say yes and return a 1.
*/
int
_DEFUN (_isatty, (fd),
diff --git a/libgloss/ft32/kill.c b/libgloss/ft32/kill.c
index 765b03e78..4b2241f56 100644
--- a/libgloss/ft32/kill.c
+++ b/libgloss/ft32/kill.c
@@ -21,7 +21,7 @@ extern void _exit (int) __attribute__((__noreturn__));
*/
int
_DEFUN (_kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if(pid == __MYPID)
diff --git a/libgloss/ft32/sim-lseek.S b/libgloss/ft32/sim-lseek.S
index 2dfde1625..c2a134ca1 100644
--- a/libgloss/ft32/sim-lseek.S
+++ b/libgloss/ft32/sim-lseek.S
@@ -23,8 +23,8 @@
*/
off_t
_DEFUN (_lseek, (fd, offset, whence),
- int fd _AND
- off_t offset _AND
+ int fd,
+ off_t offset,
int whence)
{
errno = ESPIPE;
diff --git a/libgloss/ft32/sim-lseek.c b/libgloss/ft32/sim-lseek.c
index 297de2b8a..e5c08c8e7 100644
--- a/libgloss/ft32/sim-lseek.c
+++ b/libgloss/ft32/sim-lseek.c
@@ -23,8 +23,8 @@
*/
off_t
_DEFUN (_lseek, (fd, offset, whence),
- int fd _AND
- off_t offset _AND
+ int fd,
+ off_t offset,
int whence)
{
/* errno = ESPIPE; */
diff --git a/libgloss/ft32/sim-time.c b/libgloss/ft32/sim-time.c
index 25e72a1f4..8f417ebb7 100644
--- a/libgloss/ft32/sim-time.c
+++ b/libgloss/ft32/sim-time.c
@@ -34,7 +34,7 @@ _DEFUN (_times, _times (buf),
*/
int
_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
- struct timeval *tv _AND
+ struct timeval *tv,
void *tzvp)
{
struct timezone *tz = tzvp;
diff --git a/libgloss/ft32/stat.c b/libgloss/ft32/stat.c
index 580e2ca6e..4d738efe2 100644
--- a/libgloss/ft32/stat.c
+++ b/libgloss/ft32/stat.c
@@ -21,7 +21,7 @@
*/
int
_DEFUN (_stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;