[zaptel-commits] trunk r1239 - /trunk/vpm450m.h
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Sat Jul 15 17:21:15 MST 2006
Author: kpfleming
Date: Sat Jul 15 19:21:14 2006
New Revision: 1239
URL: http://svn.digium.com/view/zaptel?rev=1239&view=rev
Log:
remove useless extern qualifiers
Modified:
trunk/vpm450m.h
Modified: trunk/vpm450m.h
URL: http://svn.digium.com/view/zaptel/trunk/vpm450m.h?rev=1239&r1=1238&r2=1239&view=diff
==============================================================================
--- trunk/vpm450m.h (original)
+++ trunk/vpm450m.h Sat Jul 15 19:21:14 2006
@@ -9,25 +9,24 @@
#ifndef _VPM450M_H
#define _VPM450M_H
-
struct vpm450m;
#ifdef HOTPLUG_FIRMWARE
struct firmware;
#endif
/* From driver */
-extern unsigned int oct_get_reg(void *data, unsigned int reg);
-extern void oct_set_reg(void *data, unsigned int reg, unsigned int val);
+unsigned int oct_get_reg(void *data, unsigned int reg);
+void oct_set_reg(void *data, unsigned int reg, unsigned int val);
/* From vpm450m2 */
#ifdef HOTPLUG_FIRMWARE
-extern struct vpm450m *init_vpm450m(void *wc, int *isalaw, const struct firmware *firmware);
+struct vpm450m *init_vpm450m(void *wc, int *isalaw, const struct firmware *firmware);
#else
-extern struct vpm450m *init_vpm450m(void *wc, int *isalaw);
+struct vpm450m *init_vpm450m(void *wc, int *isalaw);
#endif
-extern void vpm450m_setec(struct vpm450m *instance, int channel, int eclen);
-extern void vpm450m_setdtmf(struct vpm450m *instance, int channel, int dtmfdetect, int dtmfmute);
-extern int vpm450m_checkirq(struct vpm450m *vpm450m);
-extern int vpm450m_getdtmf(struct vpm450m *vpm450m, int *channel, int *tone, int *start);
-extern void release_vpm450m(struct vpm450m *instance);
+void vpm450m_setec(struct vpm450m *instance, int channel, int eclen);
+void vpm450m_setdtmf(struct vpm450m *instance, int channel, int dtmfdetect, int dtmfmute);
+int vpm450m_checkirq(struct vpm450m *vpm450m);
+int vpm450m_getdtmf(struct vpm450m *vpm450m, int *channel, int *tone, int *start);
+void release_vpm450m(struct vpm450m *instance);
#endif
More information about the zaptel-commits
mailing list