Commit 1541a51f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use ``enum kom_err'' instead of ``Kom_err''. (Bug 335).

parent 747dbcbd
2001-12-28 Per Cederqvist <ceder@moria>
Use ``enum kom_err'' instead of ``Kom_err''. (Bug 335).
* src/libraries/libcommon/kom-errno.c: Use ``enum kom_err''
instead of ``Kom_err''.
* src/server/aux-items.c: Ditto.
* src/server/ramkomd.c: Ditto.
* src/include/kom-errno.h (enum kom_err): Removed Kom_err typedef.
Use ``enum res_type'' instead of ``Res_type''. (Bug 335).
* src/server/connections.h (enum res_type): Removed the Res_type
typedef. The only user updated.
......
/*
* $Id: kom-errno.c,v 0.20 2001/11/11 17:28:41 ceder Exp $
* $Id: kom-errno.c,v 0.21 2001/12/28 20:28:59 ceder Exp $
* Copyright (C) 1991-1996, 1998-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -39,7 +39,7 @@
#include "kom-errno.h"
#include "config.h"
Kom_err kom_errno = KOM_NO_ERROR;
enum kom_err kom_errno = KOM_NO_ERROR;
/* Additional information about the error */
unsigned long err_stat = 0;
/*
* $Id: aux-items.c,v 1.32 2001/12/28 19:18:43 ceder Exp $
* $Id: aux-items.c,v 1.33 2001/12/28 20:28:59 ceder Exp $
* Copyright (C) 1994-2001 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -1516,7 +1516,7 @@ undelete_aux_item_list(const Number_list *items_to_undelete,
unsigned long object_no,
void *object)
{
Kom_err saved_kom_errno;
enum kom_err saved_kom_errno;
unsigned long saved_err_stat;
long i;
Aux_item *item;
......
/*
* $Id: ramkomd.c,v 0.95 2001/11/18 22:52:01 ceder Exp $
* $Id: ramkomd.c,v 0.96 2001/12/28 20:28:58 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -108,7 +108,7 @@
# define RLIMIT_NOFILE RLIMIT_OFILE
#endif
Kom_err kom_errno = KOM_NO_ERROR;
enum kom_err kom_errno = KOM_NO_ERROR;
unsigned long err_stat = 0;
time_t current_time = 0;
......
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