aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-02-24 08:35:47 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-02-24 08:35:47 +0200
commit1f728fa1ea2ced70254debf3b6bf63b76ad90ee0 (patch)
tree454c79db9ce2a80e652c49487ea9ed1beed86b0c /src
parentaf103177c3a442c86728ccfce2abd7795b6bdc21 (diff)
downloadpies-1f728fa1ea2ced70254debf3b6bf63b76ad90ee0.tar.gz
pies-1f728fa1ea2ced70254debf3b6bf63b76ad90ee0.tar.bz2
Minor stylistic change
Diffstat (limited to 'src')
-rw-r--r--src/pies.c16
-rw-r--r--src/piesctl.c2
-rw-r--r--src/progman.c10
-rw-r--r--src/socket.c4
-rw-r--r--src/sysvinit.c16
5 files changed, 24 insertions, 24 deletions
diff --git a/src/pies.c b/src/pies.c
index c5b3649..21d3421 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -172,3 +172,3 @@ config_file_list_serialize (struct json_value *ar)
static int
-stderr_closed_p ()
+stderr_closed_p (void)
{
@@ -1514,3 +1514,3 @@ struct grecs_keyword pies_keywords[] = {
void
-config_init ()
+config_init (void)
{
@@ -1554,3 +1554,3 @@ pies_config_parse (char const *name)
void
-config_help ()
+config_help (void)
{
@@ -1809,3 +1809,3 @@ list_components (void)
int
-request_reload ()
+request_reload (void)
{
@@ -1824,3 +1824,3 @@ request_reload ()
int
-request_status ()
+request_status (void)
{
@@ -1854,3 +1854,3 @@ request_status ()
int
-request_stop ()
+request_stop (void)
{
@@ -1931,3 +1931,3 @@ remove_pidfile (char *name)
static void
-set_mailer_argcv ()
+set_mailer_argcv (void)
{
@@ -2322,3 +2322,3 @@ main (int argc, char **argv)
void
-xalloc_die ()
+xalloc_die (void)
{
diff --git a/src/piesctl.c b/src/piesctl.c
index f4ea514..22a4e27 100644
--- a/src/piesctl.c
+++ b/src/piesctl.c
@@ -131,3 +131,3 @@ struct grecs_keyword piesctl_keywords[] = {
static void
-parse_config ()
+parse_config (void)
{
diff --git a/src/progman.c b/src/progman.c
index 2d3a14c..852a71c 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -321,3 +321,3 @@ register_command (char *tag, char *command, pid_t pid)
int
-progman_waiting_p ()
+progman_waiting_p (void)
{
@@ -1460,3 +1460,3 @@ prog_create_socket (struct prog *prog, void *data)
void
-progman_create_sockets ()
+progman_create_sockets (void)
{
@@ -1466,3 +1466,3 @@ progman_create_sockets ()
void
-progman_recompute_alarm ()
+progman_recompute_alarm (void)
{
@@ -1500,3 +1500,3 @@ progman_recompute_alarm ()
void
-progman_start ()
+progman_start (void)
{
@@ -2452,3 +2452,3 @@ prog_to_stop (struct prog *prog)
void
-progman_gc ()
+progman_gc (void)
{
diff --git a/src/socket.c b/src/socket.c
index 90833e5..2b2bc52 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -421,3 +421,3 @@ find_socket (int fd)
static void
-calc_fd_max ()
+calc_fd_max (void)
{
@@ -562,3 +562,3 @@ enable_socket (int fd)
void
-pies_pause ()
+pies_pause (void)
{
diff --git a/src/sysvinit.c b/src/sysvinit.c
index 6bc918c..bbd97f3 100644
--- a/src/sysvinit.c
+++ b/src/sysvinit.c
@@ -84,3 +84,3 @@ console_open (int mode)
void
-console_stty ()
+console_stty (void)
{
@@ -129,3 +129,3 @@ console_stty ()
int
-askrunlevel ()
+askrunlevel (void)
{
@@ -196,3 +196,3 @@ askrunlevel ()
static int
-getinitdefault ()
+getinitdefault (void)
{
@@ -364,3 +364,3 @@ char *sysvinit_environ_hint[NR_ENVHINT] = {
static void
-envsetup ()
+envsetup (void)
{
@@ -542,3 +542,3 @@ sysvinit_fifo_handler (int fd, void *data)
static void
-create_fifo ()
+create_fifo (void)
{
@@ -599,3 +599,3 @@ char *console_device;
static void
-set_console_dev ()
+set_console_dev (void)
{
@@ -738,3 +738,3 @@ sysvinit_realloc (void *ptr, size_t size)
void
-sysvinit_begin ()
+sysvinit_begin (void)
{
@@ -769,3 +769,3 @@ sysvinit_begin ()
int
-inittrans ()
+inittrans (void)
{

Return to:

Send suggestions and report system problems to the System administrator.