Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80305 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-29 12:18:07


Author: jurko
Date: 2012-08-29 12:18:06 EDT (Wed, 29 Aug 2012)
New Revision: 80305
URL: http://svn.boost.org/trac/boost/changeset/80305

Log:
Internal Boost Jam cleanup - minor stylistic changes.
Text files modified:
   trunk/tools/build/v2/engine/jam.c | 40 ++++++++++++++++++++--------------------
   trunk/tools/build/v2/engine/option.h | 10 +++++-----
   2 files changed, 25 insertions(+), 25 deletions(-)

Modified: trunk/tools/build/v2/engine/jam.c
==============================================================================
--- trunk/tools/build/v2/engine/jam.c (original)
+++ trunk/tools/build/v2/engine/jam.c 2012-08-29 12:18:06 EDT (Wed, 29 Aug 2012)
@@ -12,10 +12,11 @@
  * ALL WARRANTIES ARE HEREBY DISCLAIMED.
  */
 
-/* This file is ALSO:
- * Copyright 2001-2004 David Abrahams.
- * Distributed under the Boost Software License, Version 1.0.
- * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+/* This file is ALSO:
+ * Copyright 2001-2004 David Abrahams.
+ * Distributed under the Boost Software License, Version 1.0.
+ * (See accompanying file LICENSE_1_0.txt or copy at
+ * http://www.boost.org/LICENSE_1_0.txt)
  */
 
 /*
@@ -97,29 +98,28 @@
 
 
 #include "jam.h"
-#include "option.h"
 #include "patchlevel.h"
 
-/* These get various function declarations. */
-#include "lists.h"
-#include "parse.h"
-#include "variable.h"
-#include "compile.h"
 #include "builtins.h"
-#include "rules.h"
-#include "object.h"
-#include "scan.h"
-#include "timestamp.h"
-#include "make.h"
-#include "strings.h"
-#include "filesys.h"
-#include "output.h"
-#include "search.h"
 #include "class.h"
+#include "compile.h"
 #include "constants.h"
+#include "filesys.h"
 #include "function.h"
-#include "pwd.h"
 #include "hcache.h"
+#include "lists.h"
+#include "make.h"
+#include "object.h"
+#include "option.h"
+#include "output.h"
+#include "parse.h"
+#include "pwd.h"
+#include "rules.h"
+#include "scan.h"
+#include "search.h"
+#include "strings.h"
+#include "timestamp.h"
+#include "variable.h"
 
 /* Macintosh is "special" */
 #ifdef OS_MAC

Modified: trunk/tools/build/v2/engine/option.h
==============================================================================
--- trunk/tools/build/v2/engine/option.h (original)
+++ trunk/tools/build/v2/engine/option.h 2012-08-29 12:18:06 EDT (Wed, 29 Aug 2012)
@@ -13,11 +13,11 @@
 
 typedef struct bjam_option
 {
- char flag; /* filled in by getoption() */
- char *val; /* set to random address if true */
+ char flag; /* filled in by getoption() */
+ char * val; /* set to random address if true */
 } bjam_option;
 
-# define N_OPTS 256
+#define N_OPTS 256
 
-int getoptions( int argc, char **argv, char *opts, bjam_option *optv );
-char * getoptval( bjam_option *optv, char opt, int subopt );
+int getoptions( int argc, char * * argv, char * opts, bjam_option * optv );
+char * getoptval( bjam_option * optv, char opt, int subopt );


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk