summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2005-08-15 18:35:09 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2005-08-15 18:35:09 +0000
commit808bdbd1e9eab8e4fcd925442495d019b67f0b5a (patch)
treec3cf6f98c94ee722622abf51be0ac401dd6b4557 /src
parentc0299e1868312e623c9b2ec6646cc7d1a5fe0f69 (diff)
downloadtinyproxy-808bdbd1e9eab8e4fcd925442495d019b67f0b5a.tar.gz
tinyproxy-808bdbd1e9eab8e4fcd925442495d019b67f0b5a.zip
* [Indent] Fixed typedef Formatting
Added the list of tinyproxy typedefs to the indent command to have them formatted correctly as well.
Diffstat (limited to '')
-rw-r--r--src/daemon.c4
-rw-r--r--src/daemon.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon.c b/src/daemon.c
index 9d4379a..c408620 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -1,4 +1,4 @@
-/* $Id: daemon.c,v 1.5 2005-08-15 03:54:31 rjkaes Exp $
+/* $Id: daemon.c,v 1.6 2005-08-15 18:35:09 rjkaes Exp $
*
* This file contains functions which are useful when writing a
* daemon process. The functions include a "makedaemon" function and
@@ -56,7 +56,7 @@ makedaemon(void)
* to handle signals sent to the process.
*/
signal_func *
-set_signal_handler(int signo, signal_func * func)
+set_signal_handler(int signo, signal_func *func)
{
struct sigaction act, oact;
diff --git a/src/daemon.h b/src/daemon.h
index 2b7432e..7636406 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -1,4 +1,4 @@
-/* $Id: daemon.h,v 1.3 2005-08-15 03:54:31 rjkaes Exp $
+/* $Id: daemon.h,v 1.4 2005-08-15 18:35:09 rjkaes Exp $
*
* See 'daemon.c' for a detailed description.
*
@@ -18,12 +18,12 @@
#ifndef TINYPROXY_DAEMON_H
#define TINYPROXY_DAEMON_H
-typedef void signal_func(int);
+typedef void signal_func (int);
/*
* Pass a singal integer and a function to handle the signal.
*/
-extern signal_func *set_signal_handler(int signo, signal_func * func);
+extern signal_func *set_signal_handler(int signo, signal_func *func);
/*
* Make a program a daemon process