From 808bdbd1e9eab8e4fcd925442495d019b67f0b5a Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 15 Aug 2005 18:35:09 +0000 Subject: * [Indent] Fixed typedef Formatting Added the list of tinyproxy typedefs to the indent command to have them formatted correctly as well. --- src/daemon.c | 4 ++-- src/daemon.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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 -- cgit v1.2.3