diff options
author | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-11-22 00:25:17 +0200 |
---|---|---|
committer | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-11-22 00:25:17 +0200 |
commit | 9401ed47c6d00cca32b581e096502f9534998bcd (patch) | |
tree | 5e601b6d3c6dd10c71c579e6c89b609b3e4f292d /trace.h | |
parent | 4e81430d26eef24f5bb8464c8c54a11b042f1842 (diff) |
Moved the code to GCS
The code now complies (hopefully) with GNU Coding Standards.
Diffstat (limited to 'trace.h')
-rw-r--r-- | trace.h | 34 |
1 files changed, 15 insertions, 19 deletions
@@ -1,8 +1,8 @@ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*trace.h*/ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*The definitions for tracing the translator stack under ourselves.*/ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ /*Copyright (C) 2001, 2002, 2005, 2008 Free Software Foundation, Inc. Written by Sergiu Ivanov <unlimitedscolobb@gmail.com>. @@ -20,29 +20,25 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.*/ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ #ifndef __TRACE_H__ #define __TRACE_H__ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ #include <error.h> #include <sys/types.h> #include <hurd/iohelp.h> -/*----------------------------------------------------------------------------*/ +/*---------------------------------------------------------------------------*/ -/*----------------------------------------------------------------------------*/ -/*--------Functions-----------------------------------------------------------*/ -/*Traces the translator stack on the given underlying node until it finds the - first translator called `name` and returns the port pointing to the - translator sitting under this one, opened as specified in `flags`.*/ +/*---------------------------------------------------------------------------*/ +/*--------Functions----------------------------------------------------------*/ +/*Traces the translator stack on the given underlying node until it + finds the first translator called `name` and returns the port + pointing to the translator sitting under this one, opened as + specified in `flags`.*/ error_t -trace_find - ( - mach_port_t underlying, - const char * name, - int flags, - mach_port_t * port - ); + trace_find + (mach_port_t underlying, const char *name, int flags, mach_port_t * port); /*----------------------------------------------------------------------------*/ #endif /*__TRACE_H__*/ |