mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
whitespace cleanup
This commit is contained in:
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
sysprof_address_is_context_switch (SysprofAddress address,
|
sysprof_address_is_context_switch (SysprofAddress address,
|
||||||
SysprofAddressContext *context)
|
SysprofAddressContext *context)
|
||||||
{
|
{
|
||||||
SysprofAddressContext dummy;
|
SysprofAddressContext dummy;
|
||||||
|
|
||||||
|
|||||||
@ -73,10 +73,10 @@
|
|||||||
# define _sysprof_sendfile(a,b,c,d) sendfile(a,b,c,d)
|
# define _sysprof_sendfile(a,b,c,d) sendfile(a,b,c,d)
|
||||||
#else
|
#else
|
||||||
size_t _sysprof_getpagesize (void);
|
size_t _sysprof_getpagesize (void);
|
||||||
ssize_t _sysprof_pread (int fd,
|
ssize_t _sysprof_pread (int fd,
|
||||||
void *buf,
|
void *buf,
|
||||||
size_t count,
|
size_t count,
|
||||||
off_t offset);
|
off_t offset);
|
||||||
ssize_t _sysprof_pwrite (int fd,
|
ssize_t _sysprof_pwrite (int fd,
|
||||||
const void *buf,
|
const void *buf,
|
||||||
size_t count,
|
size_t count,
|
||||||
@ -85,9 +85,9 @@ ssize_t _sysprof_write (int fd,
|
|||||||
const void *buf,
|
const void *buf,
|
||||||
size_t count);
|
size_t count);
|
||||||
gint32 _sysprof_getpid (void);
|
gint32 _sysprof_getpid (void);
|
||||||
ssize_t _sysprof_sendfile (int out_fd,
|
ssize_t _sysprof_sendfile (int out_fd,
|
||||||
int in_fd,
|
int in_fd,
|
||||||
off_t *offset,
|
off_t *offset,
|
||||||
size_t count);
|
size_t count);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -94,9 +94,9 @@ size_t
|
|||||||
|
|
||||||
ssize_t
|
ssize_t
|
||||||
(_sysprof_pread) (int fd,
|
(_sysprof_pread) (int fd,
|
||||||
void *buf,
|
void *buf,
|
||||||
size_t count,
|
size_t count,
|
||||||
off_t offset)
|
off_t offset)
|
||||||
{
|
{
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
ssize_t ret = -1;
|
ssize_t ret = -1;
|
||||||
@ -116,9 +116,9 @@ ssize_t
|
|||||||
|
|
||||||
ssize_t
|
ssize_t
|
||||||
(_sysprof_pwrite) (int fd,
|
(_sysprof_pwrite) (int fd,
|
||||||
const void *buf,
|
const void *buf,
|
||||||
size_t count,
|
size_t count,
|
||||||
off_t offset)
|
off_t offset)
|
||||||
{
|
{
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
ssize_t ret = -1;
|
ssize_t ret = -1;
|
||||||
@ -138,8 +138,8 @@ ssize_t
|
|||||||
|
|
||||||
ssize_t
|
ssize_t
|
||||||
(_sysprof_write) (int fd,
|
(_sysprof_write) (int fd,
|
||||||
const void *buf,
|
const void *buf,
|
||||||
size_t count)
|
size_t count)
|
||||||
{
|
{
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
ssize_t ret = -1;
|
ssize_t ret = -1;
|
||||||
@ -168,9 +168,9 @@ gint32
|
|||||||
|
|
||||||
ssize_t
|
ssize_t
|
||||||
(_sysprof_sendfile) (int out_fd,
|
(_sysprof_sendfile) (int out_fd,
|
||||||
int in_fd,
|
int in_fd,
|
||||||
off_t *offset,
|
off_t *offset,
|
||||||
size_t count)
|
size_t count)
|
||||||
{
|
{
|
||||||
ssize_t total = 0;
|
ssize_t total = 0;
|
||||||
off_t wpos = 0;
|
off_t wpos = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user