cvs commit: ALFS/nALFS/src/handlers stage.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Mar 13 20:48:00 PST 2004


kpfleming    04/03/13 21:48:00

  Modified:    nALFS/src/handlers stage.c
  Log:
  remove unneeded child element validator for <variable>
  
  Revision  Changes    Path
  1.32      +0 -12     ALFS/nALFS/src/handlers/stage.c
  
  Index: stage.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/stage.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- stage.c	2 Mar 2004 04:05:53 -0000	1.31
  +++ stage.c	14 Mar 2004 04:48:00 -0000	1.32
  @@ -738,15 +738,6 @@
   	return 1;
   }
   
  -static int variable_valid_child(const element_s * const element,
  -				const element_s * const child)
  -{
  -	(void) element;
  -	(void) child;
  -
  -	return 0;
  -}
  -
   static int variable_main(const element_s * const element)
   {
   	struct variable_data *data = (struct variable_data *) element->handler_data;
  @@ -820,7 +811,6 @@
   		.attribute = variable_attribute,
   		.content = variable_content,
   		.valid_data = variable_valid_data,
  -		.valid_child = variable_valid_child,
   	},
   #endif
   #if HANDLER_SYNTAX_3_1
  @@ -899,7 +889,6 @@
   		.attribute = variable_attribute,
   		.content = variable_content,
   		.valid_data = variable_valid_data,
  -		.valid_child = variable_valid_child,
   	},
   #endif
   #if HANDLER_SYNTAX_3_2
  @@ -978,7 +967,6 @@
   		.attribute = variable_attribute,
   		.content = variable_content,
   		.valid_data = variable_valid_data,
  -		.valid_child = variable_valid_child,
   	},
   #endif
   	{
  
  
  



More information about the alfs-log mailing list