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

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Feb 28 20:24:47 PST 2004


kpfleming    04/02/28 21:24:47

  Modified:    nALFS/src/handlers build.c
  Log:
  convert to new parsing system
  
  Revision  Changes    Path
  1.17      +7 -6      ALFS/nALFS/src/handlers/build.c
  
  Index: build.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/build.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- build.c	24 Feb 2004 06:30:11 -0000	1.16
  +++ build.c	29 Feb 2004 04:24:47 -0000	1.17
  @@ -1,9 +1,10 @@
   /*
    *  build.c - Handler.
    *
  - *  Copyright (C) 2001, 2002
  + *  Copyright (C) 2001, 2002, 2004
    *
    *  Neven Has <haski at sezampro.yu>
  + *  Kevin P. Fleming <kpfleming at linuxfromscratch.org>
    *
    *  This program is free software; you can redistribute it and/or modify
    *  it under the terms of the GNU General Public License as published by
  @@ -34,9 +35,10 @@
   #include "backend.h"
   #include "logging.h"
   
  -
  -#if HANDLER_SYNTAX_2_0
  -
  +static int build_setup(const element_s * element)
  +{
  +	return 0;
  +}
   
   static int build_main(const element_s * const el)
   {
  @@ -51,8 +53,6 @@
   	return i;
   }
   
  -#endif /* HANDLER_SYNTAX_2_0 */
  -
   
   /*
    * Handlers' information.
  @@ -66,6 +66,7 @@
   		.syntax_version = "2.0",
   		.main = build_main,
   		.type = HTYPE_NORMAL,
  +		.setup = build_setup,
   	},
   #endif
   	{
  
  
  



More information about the alfs-log mailing list