Commit 20bd48b9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Changed u_ to unsigned.

parent aa8ae5ed
/*
* $Id: connections.c,v 0.27 1993/10/13 00:36:58 ceder Exp $
* $Id: connections.c,v 0.28 1993/10/14 22:36:19 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -30,7 +30,7 @@
* Created by Willf|r 31/3-90. Mostly written by ceder.
*/
static char *rcsid = "$Id: connections.c,v 0.27 1993/10/13 00:36:58 ceder Exp $";
static char *rcsid = "$Id: connections.c,v 0.28 1993/10/14 22:36:19 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -105,7 +105,7 @@ const Fnc_descriptor fnc_defs[]={
#include "fnc-def-init.incl"
};
u_long service_statistics[sizeof (fnc_defs) / sizeof (Fnc_descriptor)];
unsigned long service_statistics[sizeof (fnc_defs) / sizeof (Fnc_descriptor)];
BUGDECL;
......@@ -628,7 +628,7 @@ dump_statistics(void)
fprintf(fp, "TIME: %s", ctime(&now));
fprintf(fp, "SECONDS: %d\n", (int)difftime(now, last_dump));
fprintf(fp, "STATISTICS:");
for ( i = 0; i < sizeof(service_statistics) / sizeof(u_long); i++)
for ( i = 0; i < sizeof(service_statistics) / sizeof(unsigned long); i++)
{
fprintf(fp, " %lu", service_statistics[i]);
service_statistics[i]=0;
......
/*
* $Id: ram-output.h,v 0.3 1991/09/15 10:29:44 linus Exp $
* $Id: ram-output.h,v 0.4 1993/10/14 22:38:43 ceder Exp $
* Copyright (C) 1991 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: ram-output.h,v 0.3 1991/09/15 10:29:44 linus Exp $
* $Id: ram-output.h,v 0.4 1993/10/14 22:38:43 ceder Exp $
*
* ram-output.c - write objects to disk.
*
......@@ -94,5 +94,5 @@ foutput_misc_info(FILE *fp,
Misc_info misc);
extern void
foutput_ulong (u_long l,
foutput_ulong (unsigned long l,
FILE *fp);
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