aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_string.c
diff options
context:
space:
mode:
authorreinelt <>2005-05-08 04:32:45 +0000
committerreinelt <>2005-05-08 04:32:45 +0000
commit2823491ff6ae1c4bacb4026b5c8f7ff321ce9d39 (patch)
tree501d5dda3ce90fe924b893e487d9ef9f0683382b /plugin_string.c
parent5a63c929acc375d090cd933c331ffb3e171bd0b6 (diff)
downloadlcd4linux-2823491ff6ae1c4bacb4026b5c8f7ff321ce9d39.tar.gz
[lcd4linux @ 2005-05-08 04:32:43 by reinelt]
CodingStyle added and applied
Diffstat (limited to '')
-rw-r--r--plugin_string.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/plugin_string.c b/plugin_string.c
index c920e25..e1fd0a4 100644
--- a/plugin_string.c
+++ b/plugin_string.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_string.c,v 1.7 2005/01/18 06:30:23 reinelt Exp $
+/* $Id: plugin_string.c,v 1.8 2005/05/08 04:32:45 reinelt Exp $
*
* string plugin
*
@@ -23,6 +23,9 @@
*
*
* $Log: plugin_string.c,v $
+ * Revision 1.8 2005/05/08 04:32:45 reinelt
+ * CodingStyle added and applied
+ *
* Revision 1.7 2005/01/18 06:30:23 reinelt
* added (C) to all copyright statements
*
@@ -73,23 +76,23 @@
#include "plugin.h"
-static void my_strlen (RESULT *result, RESULT *arg1)
+static void my_strlen(RESULT * result, RESULT * arg1)
{
- double value=strlen(R2S(arg1));
- SetResult(&result, R_NUMBER, &value);
+ double value = strlen(R2S(arg1));
+ SetResult(&result, R_NUMBER, &value);
}
-int plugin_init_string (void)
+int plugin_init_string(void)
{
- /* register some basic string functions */
- AddFunction ("strlen", 1, my_strlen);
+ /* register some basic string functions */
+ AddFunction("strlen", 1, my_strlen);
- return 0;
+ return 0;
}
-void plugin_exit_string(void)
+void plugin_exit_string(void)
{
- /* empty */
+ /* empty */
}