summaryrefslogtreecommitdiff
path: root/trace.h
diff options
context:
space:
mode:
authorSergiu Ivanov <unlimitedscolobb@gmail.com>2008-11-22 00:25:17 +0200
committerSergiu Ivanov <unlimitedscolobb@gmail.com>2008-11-22 00:25:17 +0200
commit9401ed47c6d00cca32b581e096502f9534998bcd (patch)
tree5e601b6d3c6dd10c71c579e6c89b609b3e4f292d /trace.h
parent4e81430d26eef24f5bb8464c8c54a11b042f1842 (diff)
Moved the code to GCS
The code now complies (hopefully) with GNU Coding Standards.
Diffstat (limited to 'trace.h')
-rw-r--r--trace.h34
1 files changed, 15 insertions, 19 deletions
diff --git a/trace.h b/trace.h
index 511cc369d..397235176 100644
--- a/trace.h
+++ b/trace.h
@@ -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__*/