Skip to content
GitLab
Menu
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
4b61725b
Commit
4b61725b
authored
Sep 06, 2002
by
Per Cederqvist
Browse files
(num_fnc_defs): Change type to int.
parent
6f1b7a03
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/server/connections.c
View file @
4b61725b
/*
* $Id: connections.c,v 0.7
8
2002/0
8/23 07:03:36
ceder Exp $
* $Id: connections.c,v 0.7
9
2002/0
9/06 22:42:24
ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -110,7 +110,7 @@ const Fnc_descriptor fnc_defs[]={
#include "fnc-def-init.incl"
};
const
unsigned
long
num_fnc_defs
=
sizeof
(
fnc_defs
)
/
sizeof
(
Fnc_descriptor
);
const
int
num_fnc_defs
=
sizeof
(
fnc_defs
)
/
sizeof
(
Fnc_descriptor
);
unsigned
long
service_statistics
[
sizeof
(
fnc_defs
)
/
sizeof
(
Fnc_descriptor
)];
...
...
src/server/connections.h
View file @
4b61725b
/*
* $Id: connections.h,v 0.5
2
2002/0
8/16 00:24:14
ceder Exp $
* $Id: connections.h,v 0.5
3
2002/0
9/06 22:42:27
ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: connections.h,v 0.5
2
2002/0
8/16 00:24:14
ceder Exp $
* $Id: connections.h,v 0.5
3
2002/0
9/06 22:42:27
ceder Exp $
*
* connections.h -- The top level of the communication packet.
*
...
...
@@ -249,7 +249,7 @@ typedef struct {
}
Fnc_descriptor
;
extern
const
Fnc_descriptor
fnc_defs
[];
extern
const
unsigned
long
num_fnc_defs
;
extern
const
int
num_fnc_defs
;
/*
* This array holds number of calls to each service. It is dumped to the
...
...
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