Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
5c5e4452
Commit
5c5e4452
authored
Jul 06, 2016
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix prototypes for a few stdio funcs
parent
5c5f5334
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
darshan-runtime/lib/darshan-stdio.c
darshan-runtime/lib/darshan-stdio.c
+7
-6
No files found.
darshan-runtime/lib/darshan-stdio.c
View file @
5c5e4452
...
@@ -121,7 +121,7 @@ DARSHAN_FORWARD_DECL(fseek, int, (FILE *stream, long offset, int whence));
...
@@ -121,7 +121,7 @@ DARSHAN_FORWARD_DECL(fseek, int, (FILE *stream, long offset, int whence));
DARSHAN_FORWARD_DECL
(
fseeko
,
int
,
(
FILE
*
stream
,
off_t
offset
,
int
whence
));
DARSHAN_FORWARD_DECL
(
fseeko
,
int
,
(
FILE
*
stream
,
off_t
offset
,
int
whence
));
DARSHAN_FORWARD_DECL
(
fseeko64
,
int
,
(
FILE
*
stream
,
off_t
offset
,
int
whence
));
DARSHAN_FORWARD_DECL
(
fseeko64
,
int
,
(
FILE
*
stream
,
off_t
offset
,
int
whence
));
DARSHAN_FORWARD_DECL
(
fsetpos
,
int
,
(
FILE
*
stream
,
const
fpos_t
*
pos
));
DARSHAN_FORWARD_DECL
(
fsetpos
,
int
,
(
FILE
*
stream
,
const
fpos_t
*
pos
));
DARSHAN_FORWARD_DECL
(
fsetpos64
,
int
,
(
FILE
*
stream
,
const
fpos_t
*
pos
));
DARSHAN_FORWARD_DECL
(
fsetpos64
,
int
,
(
FILE
*
stream
,
const
fpos
64
_t
*
pos
));
DARSHAN_FORWARD_DECL
(
rewind
,
void
,
(
FILE
*
stream
));
DARSHAN_FORWARD_DECL
(
rewind
,
void
,
(
FILE
*
stream
));
/* structure to track stdio stats at runtime */
/* structure to track stdio stats at runtime */
...
@@ -538,7 +538,7 @@ size_t DARSHAN_DECL(fread)(void *ptr, size_t size, size_t nmemb, FILE *stream)
...
@@ -538,7 +538,7 @@ size_t DARSHAN_DECL(fread)(void *ptr, size_t size, size_t nmemb, FILE *stream)
return
(
ret
);
return
(
ret
);
}
}
size_
t
DARSHAN_DECL
(
fgetc
)(
FILE
*
stream
)
in
t
DARSHAN_DECL
(
fgetc
)(
FILE
*
stream
)
{
{
int
ret
;
int
ret
;
double
tm1
,
tm2
;
double
tm1
,
tm2
;
...
@@ -558,7 +558,7 @@ size_t DARSHAN_DECL(fgetc)(FILE *stream)
...
@@ -558,7 +558,7 @@ size_t DARSHAN_DECL(fgetc)(FILE *stream)
}
}
/* NOTE: stdio.h typically implements getc() as a macro pointing to _IO_getc */
/* NOTE: stdio.h typically implements getc() as a macro pointing to _IO_getc */
size_
t
DARSHAN_DECL
(
_IO_getc
)(
FILE
*
stream
)
in
t
DARSHAN_DECL
(
_IO_getc
)(
FILE
*
stream
)
{
{
int
ret
;
int
ret
;
double
tm1
,
tm2
;
double
tm1
,
tm2
;
...
@@ -578,7 +578,7 @@ size_t DARSHAN_DECL(_IO_getc)(FILE *stream)
...
@@ -578,7 +578,7 @@ size_t DARSHAN_DECL(_IO_getc)(FILE *stream)
}
}
/* NOTE: stdio.h typically implements putc() as a macro pointing to _IO_putc */
/* NOTE: stdio.h typically implements putc() as a macro pointing to _IO_putc */
size_
t
DARSHAN_DECL
(
_IO_putc
)(
int
c
,
FILE
*
stream
)
in
t
DARSHAN_DECL
(
_IO_putc
)(
int
c
,
FILE
*
stream
)
{
{
int
ret
;
int
ret
;
double
tm1
,
tm2
;
double
tm1
,
tm2
;
...
@@ -596,7 +596,8 @@ size_t DARSHAN_DECL(_IO_putc)(int c, FILE *stream)
...
@@ -596,7 +596,8 @@ size_t DARSHAN_DECL(_IO_putc)(int c, FILE *stream)
return
(
ret
);
return
(
ret
);
}
}
size_t
DARSHAN_DECL
(
getw
)(
FILE
*
stream
)
int
DARSHAN_DECL
(
getw
)(
FILE
*
stream
)
{
{
int
ret
;
int
ret
;
double
tm1
,
tm2
;
double
tm1
,
tm2
;
...
@@ -874,7 +875,7 @@ int DARSHAN_DECL(fsetpos)(FILE *stream, const fpos_t *pos)
...
@@ -874,7 +875,7 @@ int DARSHAN_DECL(fsetpos)(FILE *stream, const fpos_t *pos)
return
(
ret
);
return
(
ret
);
}
}
int
DARSHAN_DECL
(
fsetpos64
)(
FILE
*
stream
,
const
fpos_t
*
pos
)
int
DARSHAN_DECL
(
fsetpos64
)(
FILE
*
stream
,
const
fpos
64
_t
*
pos
)
{
{
int
ret
;
int
ret
;
struct
stdio_file_record_ref
*
rec_ref
;
struct
stdio_file_record_ref
*
rec_ref
;
...
...
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