From aa870c65af684b8a34792da3d0d62cffd748742f Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Fri, 28 Dec 2001 19:05:06 +0000 Subject: [PATCH] (enum info_type): Removed Info_type typedef. All types that contain an enum info_type updated. (Bug 335). --- src/include/kom-types.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/include/kom-types.h b/src/include/kom-types.h index 5a2109b26..c61d109a5 100644 --- a/src/include/kom-types.h +++ b/src/include/kom-types.h @@ -1,5 +1,5 @@ /* - * $Id: kom-types.h,v 0.45 2001/11/04 14:20:24 ceder Exp $ + * $Id: kom-types.h,v 0.46 2001/12/28 19:05:06 ceder Exp $ * Copyright (C) 1990-1999, 2001 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -132,7 +132,7 @@ typedef struct { /* See file doc/Protocol-A.texi */ -typedef enum { +enum info_type { recpt = 0, /* 0 Recipient (conference) */ cc_recpt = 1, /* 1 Carbon Copy recipient (extra kopia) */ comm_to = 2, /* 2 Comment to (text) */ @@ -146,7 +146,7 @@ typedef enum { bcc_recpt = 15, /* 15 BCC recipient (for kannedom) */ unknown_info = 4711 /* Internal use only. Unknown misc item encountered */ -} Info_type; +}; typedef union { Conf_no recipient; /* recpt, cc_recpt, bcc_recpt */ @@ -155,13 +155,13 @@ typedef union { Time received_at; /* rec_time */ Pers_no sender; /* sent_by */ Time sent_at; /* sent_at */ - Info_type unknown_type; /* unknown_info */ + enum info_type unknown_type; /* unknown_info */ } Info_datum; /* This struct contains miscellaneous information about a text. */ typedef struct { - Info_type type; + enum info_type type; Info_datum datum; } Misc_info; -- GitLab