From f60043082d8f1474c9c7f78df73b09e70bb1734c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 29 Jan 2003 14:45:15 +0000 Subject: [PATCH] Unified the look of the different files a bit (their headers in particular). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2596 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/kernel/OS.h | 3 +-- headers/os/kernel/fs_attr.h | 5 ++--- headers/os/kernel/fs_device.h | 16 +++++++--------- headers/os/kernel/fs_index.h | 5 ++--- headers/os/kernel/fs_info.h | 4 +--- 5 files changed, 13 insertions(+), 20 deletions(-) diff --git a/headers/os/kernel/OS.h b/headers/os/kernel/OS.h index 9848a4004e..6a4a93ce27 100644 --- a/headers/os/kernel/OS.h +++ b/headers/os/kernel/OS.h @@ -1,8 +1,7 @@ -/* OS.h - kernel specific structures and functions +/* Kernel specific structures and functions ** ** Distributed under the terms of the OpenBeOS License. */ - #ifndef _OS_H #define _OS_H diff --git a/headers/os/kernel/fs_attr.h b/headers/os/kernel/fs_attr.h index 8885590b86..10c2d084a4 100644 --- a/headers/os/kernel/fs_attr.h +++ b/headers/os/kernel/fs_attr.h @@ -1,12 +1,11 @@ -/* fs_attr.h +/* File System attributes ** -** functions/definitions for retrieving and setting attribute information. ** Distributed under the terms of the OpenBeOS License. */ - #ifndef _FS_ATTR_H #define _FS_ATTR_H + #include #include diff --git a/headers/os/kernel/fs_device.h b/headers/os/kernel/fs_device.h index 07ef023639..4d1db35455 100644 --- a/headers/os/kernel/fs_device.h +++ b/headers/os/kernel/fs_device.h @@ -1,18 +1,16 @@ -//---------------------------------------------------------------------- -// This software is part of the OpenBeOS distribution and is covered -// by the OpenBeOS license. -//--------------------------------------------------------------------- -/*! - \file fs_devices.h +/* Disk device iteration and information +** +** Distributed under the terms of the OpenBeOS License. */ - #ifndef _FS_DEVICE_H #define _FS_DEVICE_H + #include #include #include + // session flags enum { B_DATA_SESSION = 0x01, /* data session */ @@ -49,6 +47,7 @@ typedef struct extended_partition_info { uint32 file_system_flags; /* same as fs_info::flags */ } extended_partition_info; + #ifdef __cplusplus extern "C" { #endif @@ -78,9 +77,8 @@ status_t get_fs_initialization_parameters(int deviceFD, int32 sessionIndex, status_t initialize_volume(const char *where, const char *fileSystem, const char *volumeName, const char *parameters); - #ifdef __cplusplus } #endif -#endif _FS_DEVICE_H +#endif /* _FS_DEVICE_H */ diff --git a/headers/os/kernel/fs_index.h b/headers/os/kernel/fs_index.h index 2288da6cba..87ef486ab9 100644 --- a/headers/os/kernel/fs_index.h +++ b/headers/os/kernel/fs_index.h @@ -1,12 +1,11 @@ -/* fs_index.h +/* File System indices ** -** functions/definitions for file system indices. ** Distributed under the terms of the OpenBeOS License. */ - #ifndef _FS_INDEX_H #define _FS_INDEX_H + #include #include diff --git a/headers/os/kernel/fs_info.h b/headers/os/kernel/fs_info.h index 60e11ebbc8..7993223f2c 100644 --- a/headers/os/kernel/fs_info.h +++ b/headers/os/kernel/fs_info.h @@ -1,9 +1,7 @@ -/* fs_info.h +/* General File System informations/capabilities ** -** functions/definitions for general file system information. ** Distributed under the terms of the OpenBeOS License. */ - #ifndef _FS_INFO_H #define _FS_INFO_H