aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/fstab.c2
-rw-r--r--misc/getclktck.c2
-rw-r--r--misc/getdtsz.c2
-rw-r--r--misc/gethostid.c2
-rw-r--r--misc/getpagesize.c2
-rw-r--r--misc/getsysstats.c8
-rw-r--r--misc/getttyent.c6
-rw-r--r--misc/getusershell.c8
-rw-r--r--misc/hsearch.c2
-rw-r--r--misc/sync.c2
-rw-r--r--misc/syslog.c4
-rw-r--r--misc/ttyslot.c2
-rw-r--r--misc/vhangup.c2
13 files changed, 22 insertions, 22 deletions
diff --git a/misc/fstab.c b/misc/fstab.c
index 0e2d86b..6172bcb 100644
--- a/misc/fstab.c
+++ b/misc/fstab.c
@@ -95,7 +95,7 @@ getfsfile (name)
void
-endfsent ()
+endfsent (void)
{
struct fstab_state *state;
diff --git a/misc/getclktck.c b/misc/getclktck.c
index 8975ea5..ce90baa 100644
--- a/misc/getclktck.c
+++ b/misc/getclktck.c
@@ -19,7 +19,7 @@
/* Return frequency of times(). */
int
-__getclktck ()
+__getclktck (void)
{
#ifdef CLK_TCK
return CLK_TCK;
diff --git a/misc/getdtsz.c b/misc/getdtsz.c
index 3aa9eef..25cf14a 100644
--- a/misc/getdtsz.c
+++ b/misc/getdtsz.c
@@ -21,7 +21,7 @@
/* Return the maximum number of file descriptors
the current process could possibly have. */
int
-__getdtablesize ()
+__getdtablesize (void)
{
__set_errno (ENOSYS);
return -1;
diff --git a/misc/gethostid.c b/misc/gethostid.c
index 44636f5..ce8fd2c 100644
--- a/misc/gethostid.c
+++ b/misc/gethostid.c
@@ -20,7 +20,7 @@
/* Return the current machine's Internet number. */
long int
-gethostid ()
+gethostid (void)
{
__set_errno (ENOSYS);
return -1L;
diff --git a/misc/getpagesize.c b/misc/getpagesize.c
index 93035a7..43e00a8 100644
--- a/misc/getpagesize.c
+++ b/misc/getpagesize.c
@@ -20,7 +20,7 @@
/* Return the system page size. */
int
-__getpagesize ()
+__getpagesize (void)
{
__set_errno (ENOSYS);
return 0;
diff --git a/misc/getsysstats.c b/misc/getsysstats.c
index 83b07ca..d6f9df5 100644
--- a/misc/getsysstats.c
+++ b/misc/getsysstats.c
@@ -21,7 +21,7 @@
#include <sys/sysinfo.h>
int
-__get_nprocs_conf ()
+__get_nprocs_conf (void)
{
/* We don't know how to determine the number. Simply return always 1. */
return 1;
@@ -33,7 +33,7 @@ link_warning (get_nprocs_conf, "warning: get_nprocs_conf will always return 1")
int
-__get_nprocs ()
+__get_nprocs (void)
{
/* We don't know how to determine the number. Simply return always 1. */
return 1;
@@ -44,7 +44,7 @@ link_warning (get_nprocs, "warning: get_nprocs will always return 1")
long int
-__get_phys_pages ()
+__get_phys_pages (void)
{
/* We have no general way to determine this value. */
__set_errno (ENOSYS);
@@ -56,7 +56,7 @@ stub_warning (get_phys_pages)
long int
-__get_avphys_pages ()
+__get_avphys_pages (void)
{
/* We have no general way to determine this value. */
__set_errno (ENOSYS);
diff --git a/misc/getttyent.c b/misc/getttyent.c
index 18944e2..864f65f 100644
--- a/misc/getttyent.c
+++ b/misc/getttyent.c
@@ -61,7 +61,7 @@ static char *skip (char *) __THROW internal_function;
static char *value (char *) __THROW internal_function;
struct ttyent *
-getttyent()
+getttyent (void)
{
static struct ttyent tty;
int c;
@@ -184,7 +184,7 @@ value(p)
}
int
-setttyent()
+setttyent (void)
{
if (tf) {
@@ -200,7 +200,7 @@ setttyent()
libc_hidden_def (setttyent)
int
-endttyent()
+endttyent (void)
{
int rval;
diff --git a/misc/getusershell.c b/misc/getusershell.c
index 677377c..fc2c43b 100644
--- a/misc/getusershell.c
+++ b/misc/getusershell.c
@@ -62,7 +62,7 @@ static char **initshells (void) __THROW;
* Get a list of shells from _PATH_SHELLS, if it exists.
*/
char *
-getusershell()
+getusershell (void)
{
char *ret;
@@ -75,7 +75,7 @@ getusershell()
}
void
-endusershell()
+endusershell (void)
{
free(shells);
@@ -86,14 +86,14 @@ endusershell()
}
void
-setusershell()
+setusershell (void)
{
curshell = initshells();
}
static char **
-initshells()
+initshells (void)
{
char **sp, *cp;
FILE *fp;
diff --git a/misc/hsearch.c b/misc/hsearch.c
index 96684c3..58b5d39 100644
--- a/misc/hsearch.c
+++ b/misc/hsearch.c
@@ -45,7 +45,7 @@ hcreate (nel)
void
-__hdestroy ()
+__hdestroy (void)
{
hdestroy_r (&htab);
}
diff --git a/misc/sync.c b/misc/sync.c
index 1b66342..0b18e72 100644
--- a/misc/sync.c
+++ b/misc/sync.c
@@ -20,7 +20,7 @@
/* Make all changes done to all files actually appear on disk. */
void
-sync ()
+sync (void)
{
__set_errno (ENOSYS);
}
diff --git a/misc/syslog.c b/misc/syslog.c
index 4976e89..70daa9e 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -425,7 +425,7 @@ sigpipe_handler (int signo)
#endif
static void
-closelog_internal()
+closelog_internal (void)
{
if (!connected)
return;
@@ -436,7 +436,7 @@ closelog_internal()
}
void
-closelog ()
+closelog (void)
{
/* Protect against multiple users and cancellation. */
__libc_cleanup_push (cancel_handler, NULL);
diff --git a/misc/ttyslot.c b/misc/ttyslot.c
index 75ca6a2..9c69589 100644
--- a/misc/ttyslot.c
+++ b/misc/ttyslot.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)ttyslot.c 8.1 (Berkeley) 6/4/93";
#include <unistd.h>
int
-ttyslot()
+ttyslot (void)
{
struct ttyent *ttyp;
int slot;
diff --git a/misc/vhangup.c b/misc/vhangup.c
index a8571f7..afee526 100644
--- a/misc/vhangup.c
+++ b/misc/vhangup.c
@@ -22,7 +22,7 @@
with the control terminal, and then send a SIGHUP signal to the process
group of the control terminal. */
int
-vhangup ()
+vhangup (void)
{
__set_errno (ENOSYS);
return -1;