From owner-svn-soc-all@freebsd.org Wed Jul 22 20:24:08 2015 Return-Path: Delivered-To: svn-soc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13FA39A8105 for ; Wed, 22 Jul 2015 20:24:08 +0000 (UTC) (envelope-from clord@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04D9A1155 for ; Wed, 22 Jul 2015 20:24:08 +0000 (UTC) (envelope-from clord@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.15.2/8.15.2) with ESMTP id t6MKO7su035335 for ; Wed, 22 Jul 2015 20:24:07 GMT (envelope-from clord@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.15.2/8.15.2/Submit) id t6MKO7nW035332 for svn-soc-all@FreeBSD.org; Wed, 22 Jul 2015 20:24:07 GMT (envelope-from clord@FreeBSD.org) Date: Wed, 22 Jul 2015 20:24:07 GMT Message-Id: <201507222024.t6MKO7nW035332@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to clord@FreeBSD.org using -f From: clord@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r288678 - soc2015/clord/head/sys/contrib/ficl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2015 20:24:08 -0000 Author: clord Date: Wed Jul 22 20:24:06 2015 New Revision: 288678 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=288678 Log: Put #defines above where they are actually used Modified: soc2015/clord/head/sys/contrib/ficl/ficlcompatibility.h Modified: soc2015/clord/head/sys/contrib/ficl/ficlcompatibility.h ============================================================================== --- soc2015/clord/head/sys/contrib/ficl/ficlcompatibility.h Wed Jul 22 20:17:27 2015 (r288677) +++ soc2015/clord/head/sys/contrib/ficl/ficlcompatibility.h Wed Jul 22 20:24:06 2015 (r288678) @@ -139,9 +139,9 @@ #define FICL_DEFAULT_ENV FICL_DEFAULT_ENVIRONMENT_SIZE #define FICL_DEFAULT_VOCS FICL_MAX_WORDLISTS - - - +#define nName length +#define ficl_word ficlWord +#define FICL_WORD ficlWord struct vm { @@ -189,10 +189,6 @@ #define VM_ASSERT(pVM) #endif -#define nName length -#define ficl_word ficlWord -#define FICL_WORD ficlWord - #define CELLS_PER_WORD \ ( (sizeof (FICL_WORD) + nFICLNAME + sizeof (CELL)) \ / (sizeof (CELL)) )