lots of changes from size_t to ssize_t

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6554 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-07-26 00:50:43 +00:00
parent b6869bc38c
commit 99da56bf7a
3 changed files with 6 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ typedef struct emem_storage{
unsigned char *ptr;
}emem_storage;
static size_t
static ssize_t
emem_fetch(krb5_storage *sp, void *data, size_t size)
{
emem_storage *s = (emem_storage*)sp->data;
@@ -58,7 +58,7 @@ emem_fetch(krb5_storage *sp, void *data, size_t size)
return size;
}
static size_t
static ssize_t
emem_store(krb5_storage *sp, void *data, size_t size)
{
emem_storage *s = (emem_storage*)sp->data;

View File

@@ -46,13 +46,13 @@ typedef struct fd_storage{
#define FD(S) (((fd_storage*)(S)->data)->fd)
static size_t
static ssize_t
fd_fetch(krb5_storage *sp, void *data, size_t size)
{
return read(FD(sp), data, size);
}
static size_t
static ssize_t
fd_store(krb5_storage *sp, void *data, size_t size)
{
return write(FD(sp), data, size);

View File

@@ -46,7 +46,7 @@ typedef struct mem_storage{
unsigned char *ptr;
}mem_storage;
static size_t
static ssize_t
mem_fetch(krb5_storage *sp, void *data, size_t size)
{
mem_storage *s = (mem_storage*)sp->data;
@@ -57,7 +57,7 @@ mem_fetch(krb5_storage *sp, void *data, size_t size)
return size;
}
static size_t
static ssize_t
mem_store(krb5_storage *sp, void *data, size_t size)
{
mem_storage *s = (mem_storage*)sp->data;