* [Indent] Fixed typedef Formatting
Added the list of tinyproxy typedefs to the indent command to have them formatted correctly as well.
This commit is contained in:
parent
c0299e1868
commit
808bdbd1e9
@ -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
|
* This file contains functions which are useful when writing a
|
||||||
* daemon process. The functions include a "makedaemon" function and
|
* daemon process. The functions include a "makedaemon" function and
|
||||||
@ -56,7 +56,7 @@ makedaemon(void)
|
|||||||
* to handle signals sent to the process.
|
* to handle signals sent to the process.
|
||||||
*/
|
*/
|
||||||
signal_func *
|
signal_func *
|
||||||
set_signal_handler(int signo, signal_func * func)
|
set_signal_handler(int signo, signal_func *func)
|
||||||
{
|
{
|
||||||
struct sigaction act, oact;
|
struct sigaction act, oact;
|
||||||
|
|
||||||
|
@ -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.
|
* See 'daemon.c' for a detailed description.
|
||||||
*
|
*
|
||||||
@ -18,12 +18,12 @@
|
|||||||
#ifndef TINYPROXY_DAEMON_H
|
#ifndef TINYPROXY_DAEMON_H
|
||||||
#define 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.
|
* 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
|
* Make a program a daemon process
|
||||||
|
Loading…
Reference in New Issue
Block a user