cvs commit: ALFS/nALFS/src win.c win.h

neven at linuxfromscratch.org neven at linuxfromscratch.org
Thu Nov 6 14:28:22 PST 2003


neven       03/11/06 15:28:22

  Modified:    nALFS/src win.c win.h
  Log:
  Structure used only in win.c moved there.
  
  Revision  Changes    Path
  1.9       +6 -1      ALFS/nALFS/src/win.c
  
  Index: win.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/win.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- win.c	3 Nov 2003 21:45:04 -0000	1.8
  +++ win.c	6 Nov 2003 22:28:22 -0000	1.9
  @@ -49,6 +49,12 @@
   };
   
   
  +typedef struct msg_type_t {
  +	msg_id_e id;		// Unique ID of the message type.
  +	char character;		// Character to print before the message.
  +	unsigned long attrs;	// Attributes for printing the above character.
  +} msg_type_t;
  +
   static const msg_type_t message_types[] = {
   	{ T_RAW, ' ', COL_WHITE },
   	{ T_INF, 'I', COL_CYAN },
  @@ -57,7 +63,6 @@
   	{ T_WAR, 'W', COL_CYAN_BOLD },
   	{ T_ERR, 'E', COL_RED_BOLD }
   };
  -
   
   
   char msg_character(msg_id_e mid)
  
  
  
  1.8       +0 -6      ALFS/nALFS/src/win.h
  
  Index: win.h
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/win.h,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- win.h	6 Nov 2003 17:01:13 -0000	1.7
  +++ win.h	6 Nov 2003 22:28:22 -0000	1.8
  @@ -60,12 +60,6 @@
   #define COL_WHITE	(COLOR_PAIR(COLP_WHITE))
   
   
  -typedef struct msg_type_t {
  -	msg_id_e id;		// Unique ID of the message type.
  -	char character;		// Character to print before the message.
  -	unsigned long attrs;	// Attributes for printing the above character.
  -} msg_type_t;
  -
   char msg_character(msg_id_e mid);
   unsigned long msg_attrs(msg_id_e mid);
   
  
  
  



More information about the alfs-log mailing list