From bca7cbb0bbd19638e56379ff1aaf63c06defc8a5 Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Fri, 28 Dec 2001 20:20:46 +0000 Subject: [PATCH] (enum res_type): Removed the Res_type typedef. The only user updated. (Bug 335). --- src/server/connections.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server/connections.h b/src/server/connections.h index 42f0b2947..e5422d944 100644 --- a/src/server/connections.h +++ b/src/server/connections.h @@ -1,5 +1,5 @@ /* - * $Id: connections.h,v 0.47 2001/12/28 20:04:53 ceder Exp $ + * $Id: connections.h,v 0.48 2001/12/28 20:20:46 ceder Exp $ * Copyright (C) 1991-2000 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.47 2001/12/28 20:04:53 ceder Exp $ + * $Id: connections.h,v 0.48 2001/12/28 20:20:46 ceder Exp $ * * connections.h -- The top level of the communication packet. * @@ -142,7 +142,7 @@ extern Connection * active_connection; /* * This enum describes the result of a function in services.c. */ -typedef enum { +enum res_type { rt_number, /* E.g. Pers_no, Conf_no, Text_no. This is somewhat special in that the function indicates an error by returning @@ -188,7 +188,7 @@ typedef enum { , rt_memory_info #endif -} Res_type; +}; /* * The result from a call is stored in this union. @@ -242,7 +242,7 @@ typedef union { typedef struct { enum call_header function; - Res_type result; + enum res_type result; /* The function that is used to parse args for this function: */ void (*parser)(Connection *client); } Fnc_descriptor; -- GitLab