You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2006/10/18 23:10:29 UTC
svn commit: r465373 -
/lucene/lucy/trunk/charmonizer/src/Charmonizer/Core.charm
Author: marvin
Date: Wed Oct 18 14:10:29 2006
New Revision: 465373
URL: http://svn.apache.org/viewvc?view=rev&rev=465373
Log:
Whitespace only. Move code for _config.h next to the write_config_h function,
where it belongs.
Modified:
lucene/lucy/trunk/charmonizer/src/Charmonizer/Core.charm
Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Core.charm
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Core.charm?view=diff&rev=465373&r1=465372&r2=465373
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Core.charm (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Core.charm Wed Oct 18 14:10:29 2006
@@ -30,6 +30,17 @@
static char *object_flag = NULL;
static char *include_flag = NULL;
+static void
+grow_command_buf(size_t command_len)
+{
+ if (command_len > command_buf_len) {
+ command_buf = realloc(command_buf, command_len);
+ if (command_buf == NULL)
+ die("allocation of command_buf failed");
+ command_buf_len = command_len;
+ }
+}
+
static char charm_h_code[] = METAQUOTE
#ifndef CHARM_H
#define CHARM_H 1
@@ -41,17 +52,6 @@
#endif
METAQUOTE;
-
-static void
-grow_command_buf(size_t command_len)
-{
- if (command_len > command_buf_len) {
- command_buf = realloc(command_buf, command_len);
- if (command_buf == NULL)
- die("allocation of command_buf failed");
- command_buf_len = command_len;
- }
-}
void
write_charm_h()