Author: dgorbachev Date: Sat Feb 28 00:46:59 2009 New Revision: 39796
URL: http://svn.reactos.org/svn/reactos?rev=39796&view=rev Log: Fix warning: implicit declaration of function 'VALID_SOUND_DEVICE_TYPE'
Modified: trunk/reactos/lib/drivers/sound/legacy/devname.c
Modified: trunk/reactos/lib/drivers/sound/legacy/devname.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/sound/legacy/de... ============================================================================== --- trunk/reactos/lib/drivers/sound/legacy/devname.c [iso-8859-1] (original) +++ trunk/reactos/lib/drivers/sound/legacy/devname.c [iso-8859-1] Sat Feb 28 00:46:59 2009 @@ -12,6 +12,7 @@ #include <ntddk.h> #include <ntddsnd.h> #include <sndnames.h> +#include <sndtypes.h> #include <debug.h>
@@ -168,7 +169,7 @@ OUT PCWSTR* DeviceNameBody, OUT PCWSTR* DosDeviceNameBody) { - if ( ! VALID_SOUND_DEVICE_TYPE(DeviceType) ) + if ( ! IS_VALID_SOUND_DEVICE_TYPE(DeviceType) ) { DPRINT("Invalid device type"); return STATUS_INVALID_PARAMETER;