Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
f913a290
Commit
f913a290
authored
Oct 14, 1993
by
Per Cederqvist
Browse files
Include <sys/types.h>.
Changed u_ to unsigned.
parent
88867200
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/simple-cache.c
View file @
f913a290
/*
* $Id: simple-cache.c,v 0.3
6
1993/10/14
09:11
:4
8
ceder Exp $
* $Id: simple-cache.c,v 0.3
7
1993/10/14
22:40
:4
9
ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -33,7 +33,7 @@
* New save algorithm by ceder.
*/
static
char
*
rcsid
=
"$Id: simple-cache.c,v 0.3
6
1993/10/14
09:11
:4
8
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: simple-cache.c,v 0.3
7
1993/10/14
22:40
:4
9
ceder Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -51,13 +51,13 @@ USE(rcsid);
#endif
#include
<time.h>
#ifndef HAVE_DIFFTIME
# include <sys/types.h>
# include "tmp-difftime.h"
#endif
#include
<setjmp.h>
#ifdef HAVE_STDARG_H
# include <stdarg.h>
#endif
#include
<sys/types.h>
#include
"exp.h"
#include
"misc-types.h"
...
...
@@ -685,7 +685,7 @@ cached_delete_person(Pers_no pers)
if
(
pers
>=
next_free_num
)
{
log
(
"cached_delete_person(%lu): next_free_num == %lu
\n
"
,
(
u
_
long
)
pers
,
(
u
_
long
)
next_free_num
);
(
u
nsigned
long
)
pers
,
(
u
nsigned
long
)
next_free_num
);
kom_errno
=
KOM_UNDEF_PERS
;
return
FAILURE
;
}
...
...
@@ -702,7 +702,7 @@ cached_delete_person(Pers_no pers)
if
(
node
->
lock_cnt
>
0
)
log
(
"cached_delete_pers(%lu): lock_cnt === %lu
\n
"
,
(
u
_
long
)
pers
,
(
u
_
long
)
node
->
lock_cnt
);
(
u
nsigned
long
)
pers
,
(
u
nsigned
long
)
node
->
lock_cnt
);
LOGACC
(
lt_delete_pers
,
pers
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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