Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/iomd Use NULL rather than 0 to initialise unuse...
details: https://anonhg.NetBSD.org/src/rev/67073263eb43
branches: trunk
changeset: 556887:67073263eb43
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Mon Dec 29 16:25:30 2003 +0000
description:
Use NULL rather than 0 to initialise unused function pointers.
diffstat:
sys/arch/arm/iomd/vidcaudio.c | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diffs (62 lines):
diff -r 70321b1cfb19 -r 67073263eb43 sys/arch/arm/iomd/vidcaudio.c
--- a/sys/arch/arm/iomd/vidcaudio.c Mon Dec 29 16:23:58 2003 +0000
+++ b/sys/arch/arm/iomd/vidcaudio.c Mon Dec 29 16:25:30 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vidcaudio.c,v 1.18 2003/12/29 16:20:46 bjh21 Exp $ */
+/* $NetBSD: vidcaudio.c,v 1.19 2003/12/29 16:25:30 bjh21 Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson
@@ -38,7 +38,7 @@
#include <sys/param.h> /* proc.h */
-__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.18 2003/12/29 16:20:46 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.19 2003/12/29 16:25:30 bjh21 Exp $");
#include <sys/audioio.h>
#include <sys/conf.h> /* autoconfig functions */
@@ -131,31 +131,31 @@
struct audio_hw_if vidcaudio_hw_if = {
vidcaudio_open,
vidcaudio_close,
- 0,
+ NULL,
vidcaudio_query_encoding,
vidcaudio_set_params,
vidcaudio_round_blocksize,
- 0,
- 0,
- 0,
+ NULL,
+ NULL,
+ NULL,
vidcaudio_start_output,
vidcaudio_start_input,
vidcaudio_halt_output,
vidcaudio_halt_input,
vidcaudio_speaker_ctl,
vidcaudio_getdev,
- 0,
+ NULL,
vidcaudio_set_port,
vidcaudio_get_port,
vidcaudio_query_devinfo,
- 0,
- 0,
- 0,
- 0,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
vidcaudio_get_props,
- 0,
- 0,
- 0,
+ NULL,
+ NULL,
+ NULL,
};
Home |
Main Index |
Thread Index |
Old Index