Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
d9fe0636
Commit
d9fe0636
authored
Feb 21, 2003
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISDN/HiSax: Fix some warnings
gcc 3.2 is asking for a little more const correctness...
parent
35566666
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
drivers/isdn/hisax/config.c
drivers/isdn/hisax/config.c
+4
-4
drivers/isdn/hisax/hisax.h
drivers/isdn/hisax/hisax.h
+1
-1
drivers/isdn/hisax/isdnl1.c
drivers/isdn/hisax/isdnl1.c
+1
-1
drivers/isdn/hisax/isdnl1.h
drivers/isdn/hisax/isdnl1.h
+1
-1
No files found.
drivers/isdn/hisax/config.c
View file @
d9fe0636
...
...
@@ -703,16 +703,16 @@ int jiftime(char *s, long mark)
return
8
;
}
static
u8
tmpbuf
[
HISAX_STATUS_BUFSIZE
];
static
char
tmpbuf
[
HISAX_STATUS_BUFSIZE
];
void
VHiSax_putstatus
(
struct
IsdnCardState
*
cs
,
char
*
head
,
char
*
fmt
,
void
VHiSax_putstatus
(
struct
IsdnCardState
*
cs
,
char
*
head
,
c
onst
c
har
*
fmt
,
va_list
args
)
{
/* if head == NULL the fmt contains the full info */
unsigned
long
flags
;
int
count
,
i
;
u8
*
p
;
char
*
p
;
isdn_ctrl
ic
;
int
len
;
...
...
@@ -727,7 +727,7 @@ void VHiSax_putstatus(struct IsdnCardState *cs, char *head, char *fmt,
len
=
p
-
tmpbuf
;
p
=
tmpbuf
;
}
else
{
p
=
fmt
;
p
=
(
char
*
)
fmt
;
len
=
strlen
(
fmt
);
}
if
(
!
cs
)
{
...
...
drivers/isdn/hisax/hisax.h
View file @
d9fe0636
...
...
@@ -1402,7 +1402,7 @@ int jiftime(char *s, long mark);
int
HiSax_command
(
isdn_ctrl
*
ic
);
int
HiSax_writebuf_skb
(
int
id
,
int
chan
,
int
ack
,
struct
sk_buff
*
skb
);
void
HiSax_putstatus
(
struct
IsdnCardState
*
cs
,
char
*
head
,
char
*
fmt
,
...);
void
VHiSax_putstatus
(
struct
IsdnCardState
*
cs
,
char
*
head
,
char
*
fmt
,
va_list
args
);
void
VHiSax_putstatus
(
struct
IsdnCardState
*
cs
,
char
*
head
,
c
onst
c
har
*
fmt
,
va_list
args
);
void
HiSax_reportcard
(
int
cardnr
,
int
sel
);
int
QuickHex
(
char
*
txt
,
u8
*
p
,
int
cnt
);
void
LogFrame
(
struct
IsdnCardState
*
cs
,
u8
*
p
,
int
size
);
...
...
drivers/isdn/hisax/isdnl1.c
View file @
d9fe0636
...
...
@@ -126,7 +126,7 @@ static char *strL1Event[] =
};
void
debugl1
(
struct
IsdnCardState
*
cs
,
char
*
fmt
,
...)
debugl1
(
struct
IsdnCardState
*
cs
,
c
onst
c
har
*
fmt
,
...)
{
va_list
args
;
char
tmp
[
8
];
...
...
drivers/isdn/hisax/isdnl1.h
View file @
d9fe0636
...
...
@@ -28,7 +28,7 @@
#define B_LL_CONNECT 9
#define B_LL_OK 10
extern
void
debugl1
(
struct
IsdnCardState
*
cs
,
char
*
fmt
,
...);
extern
void
debugl1
(
struct
IsdnCardState
*
cs
,
c
onst
c
har
*
fmt
,
...);
extern
void
DChannel_proc_xmt
(
struct
IsdnCardState
*
cs
);
extern
void
DChannel_proc_rcv
(
struct
IsdnCardState
*
cs
);
extern
void
l1_msg
(
struct
IsdnCardState
*
cs
,
int
pr
,
void
*
arg
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment