Commit 4b61725b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(num_fnc_defs): Change type to int.

parent 6f1b7a03
/*
* $Id: connections.c,v 0.78 2002/08/23 07:03:36 ceder Exp $
* $Id: connections.c,v 0.79 2002/09/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)];
......
/*
* $Id: connections.h,v 0.52 2002/08/16 00:24:14 ceder Exp $
* $Id: connections.h,v 0.53 2002/09/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.52 2002/08/16 00:24:14 ceder Exp $
* $Id: connections.h,v 0.53 2002/09/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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment