Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
61cb830b
Commit
61cb830b
authored
Jun 25, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Constify some variables.
parent
87791cfe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
serial.c
dlls/ntdll/serial.c
+1
-1
tape.c
dlls/ntdll/tape.c
+7
-7
No files found.
dlls/ntdll/serial.c
View file @
61cb830b
...
...
@@ -1097,7 +1097,7 @@ out_now:
return
status
;
}
static
NTSTATUS
xmit_immediate
(
HANDLE
hDevice
,
int
fd
,
char
*
ptr
)
static
NTSTATUS
xmit_immediate
(
HANDLE
hDevice
,
int
fd
,
c
onst
c
har
*
ptr
)
{
/* FIXME: not perfect as it should bypass the in-queue */
WARN
(
"(%p,'%c') not perfect!
\n
"
,
hDevice
,
*
ptr
);
...
...
dlls/ntdll/tape.c
View file @
61cb830b
...
...
@@ -97,7 +97,7 @@ static NTSTATUS TAPE_GetStatus( int error )
/******************************************************************
* TAPE_CreatePartition
*/
static
NTSTATUS
TAPE_CreatePartition
(
int
fd
,
TAPE_CREATE_PARTITION
*
data
)
static
NTSTATUS
TAPE_CreatePartition
(
int
fd
,
const
TAPE_CREATE_PARTITION
*
data
)
{
#ifdef HAVE_SYS_MTIO_H
struct
mtop
cmd
;
...
...
@@ -139,7 +139,7 @@ static NTSTATUS TAPE_CreatePartition( int fd, TAPE_CREATE_PARTITION *data )
/******************************************************************
* TAPE_Erase
*/
static
NTSTATUS
TAPE_Erase
(
int
fd
,
TAPE_ERASE
*
data
)
static
NTSTATUS
TAPE_Erase
(
int
fd
,
const
TAPE_ERASE
*
data
)
{
#ifdef HAVE_SYS_MTIO_H
struct
mtop
cmd
;
...
...
@@ -300,7 +300,7 @@ static NTSTATUS TAPE_GetPosition( int fd, ULONG type, TAPE_GET_POSITION *data )
/******************************************************************
* TAPE_Prepare
*/
static
NTSTATUS
TAPE_Prepare
(
int
fd
,
TAPE_PREPARE
*
data
)
static
NTSTATUS
TAPE_Prepare
(
int
fd
,
const
TAPE_PREPARE
*
data
)
{
#ifdef HAVE_SYS_MTIO_H
struct
mtop
cmd
;
...
...
@@ -353,7 +353,7 @@ static NTSTATUS TAPE_Prepare( int fd, TAPE_PREPARE *data )
/******************************************************************
* TAPE_SetDriveParams
*/
static
NTSTATUS
TAPE_SetDriveParams
(
int
fd
,
TAPE_SET_DRIVE_PARAMETERS
*
data
)
static
NTSTATUS
TAPE_SetDriveParams
(
int
fd
,
const
TAPE_SET_DRIVE_PARAMETERS
*
data
)
{
#if defined(HAVE_SYS_MTIO_H) && defined(MTCOMPRESSION)
struct
mtop
cmd
;
...
...
@@ -379,7 +379,7 @@ static NTSTATUS TAPE_SetDriveParams( int fd, TAPE_SET_DRIVE_PARAMETERS *data )
/******************************************************************
* TAPE_SetMediaParams
*/
static
NTSTATUS
TAPE_SetMediaParams
(
int
fd
,
TAPE_SET_MEDIA_PARAMETERS
*
data
)
static
NTSTATUS
TAPE_SetMediaParams
(
int
fd
,
const
TAPE_SET_MEDIA_PARAMETERS
*
data
)
{
#ifdef HAVE_SYS_MTIO_H
struct
mtop
cmd
;
...
...
@@ -399,7 +399,7 @@ static NTSTATUS TAPE_SetMediaParams( int fd, TAPE_SET_MEDIA_PARAMETERS *data )
/******************************************************************
* TAPE_SetPosition
*/
static
NTSTATUS
TAPE_SetPosition
(
int
fd
,
TAPE_SET_POSITION
*
data
)
static
NTSTATUS
TAPE_SetPosition
(
int
fd
,
const
TAPE_SET_POSITION
*
data
)
{
#ifdef HAVE_SYS_MTIO_H
struct
mtop
cmd
;
...
...
@@ -470,7 +470,7 @@ static NTSTATUS TAPE_SetPosition( int fd, TAPE_SET_POSITION *data )
/******************************************************************
* TAPE_WriteMarks
*/
static
NTSTATUS
TAPE_WriteMarks
(
int
fd
,
TAPE_WRITE_MARKS
*
data
)
static
NTSTATUS
TAPE_WriteMarks
(
int
fd
,
const
TAPE_WRITE_MARKS
*
data
)
{
#ifdef HAVE_SYS_MTIO_H
struct
mtop
cmd
;
...
...
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