summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/mix_device.c')
-rw-r--r--mixlib/mix_device.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/mixlib/mix_device.c b/mixlib/mix_device.c
index 6a99e8a..5d3927c 100644
--- a/mixlib/mix_device.c
+++ b/mixlib/mix_device.c
@@ -1,22 +1,22 @@
/* -*-c-*- -------------- mix_device.c :
* Implementation of the functions declared in mix_device.h
* ------------------------------------------------------------------
- * Copyright (C) 2000, 2001 Free Software Foundation, Inc.
- *
+ * Copyright (C) 2000, 2001, 2007 Free Software Foundation, Inc.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
+ *
*/
#include "mix_file.h"
@@ -63,7 +63,7 @@ mix_device_new_with_name (mix_device_type_t type, const gchar *name)
mix_device_t *result = NULL;
g_return_val_if_fail (name != NULL, NULL);
g_return_val_if_fail (type < mix_dev_INVALID, NULL);
- result = g_new (mix_device_t, 1);
+ result = g_new (mix_device_t, 1);
construct_device_with_name_ (result, type, name);
return result;
}
@@ -120,7 +120,7 @@ mix_device_block_size (const mix_device_t *dev)
Get the device io mode
*/
mix_device_mode_t
-mix_device_mode (const mix_device_t *dev)
+mix_device_mode (const mix_device_t *dev)
{
g_return_val_if_fail (dev != NULL, 0);
return MODES_[dev->type];
@@ -130,7 +130,7 @@ mix_device_mode (const mix_device_t *dev)
Write a block to the device.
*/
gboolean
-mix_device_write (mix_device_t *dev, const mix_word_t *block)
+mix_device_write (mix_device_t *dev, const mix_word_t *block)
{
g_return_val_if_fail (dev != NULL, FALSE);
g_return_val_if_fail (block != NULL, FALSE);
@@ -139,7 +139,7 @@ mix_device_write (mix_device_t *dev, const mix_word_t *block)
}
gboolean
-mix_device_read (mix_device_t *dev, mix_word_t *block)
+mix_device_read (mix_device_t *dev, mix_word_t *block)
{
g_return_val_if_fail (dev != NULL, FALSE);
g_return_val_if_fail (block != NULL, FALSE);
@@ -148,7 +148,7 @@ mix_device_read (mix_device_t *dev, mix_word_t *block)
}
gboolean
-mix_device_ioc (mix_device_t *dev, mix_short_t arg)
+mix_device_ioc (mix_device_t *dev, mix_short_t arg)
{
g_return_val_if_fail (dev != NULL, FALSE);
g_assert (dev->vtable != NULL);