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:
authorChristopher Faylor <me@cgf.cx>2000-02-23 07:07:13 +0300
committerChristopher Faylor <me@cgf.cx>2000-02-23 07:07:13 +0300
commit01cf5d0f5d80baf98fcbd1e4ee0a7dc1c4f531b8 (patch)
treee8ad6225e248c2869b6870f95dd07a2a9b7cfcb3 /winsup/cygwin/syscalls.cc
parent237e6cfa8284cd2718fecca62aac0e3034b120eb (diff)
Respond to more g++ warnings relating to initializing structures.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 922206ad6..e7b98efe9 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -1627,7 +1627,7 @@ mknod ()
/* FIXME: unimplemented! */
extern "C"
int
-setgid (gid_t a)
+setgid (gid_t)
{
set_errno (ENOSYS);
return 0;
@@ -1637,7 +1637,7 @@ setgid (gid_t a)
/* FIXME: unimplemented! */
extern "C"
int
-setuid (uid_t b)
+setuid (uid_t)
{
set_errno (ENOSYS);
return 0;
@@ -1646,7 +1646,7 @@ setuid (uid_t b)
/* seteuid: standards? */
extern "C"
int
-seteuid (uid_t c)
+seteuid (uid_t)
{
set_errno (ENOSYS);
return 0;
@@ -1655,7 +1655,7 @@ seteuid (uid_t c)
/* setegid: from System V. */
extern "C"
int
-setegid (gid_t a)
+setegid (gid_t)
{
set_errno (ENOSYS);
return 0;
@@ -1664,7 +1664,7 @@ setegid (gid_t a)
/* chroot: privileged Unix system call. */
extern "C"
int
-chroot (const char *path)
+chroot (const char *)
{
set_errno (ENOSYS);
return -1;