From 7ac3e2a7d2c23ea71adeb56d8afbe1b1cbeee4df Mon Sep 17 00:00:00 2001 From: reinelt Date: Sun, 20 Jun 2004 10:09:56 +0000 Subject: [lcd4linux @ 2004-06-20 10:09:52 by reinelt] 'const'ified the whole source git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@476 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- layout.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'layout.c') diff --git a/layout.c b/layout.c index c60a4ff..ef560dd 100644 --- a/layout.c +++ b/layout.c @@ -1,4 +1,4 @@ -/* $Id: layout.c,v 1.11 2004/06/02 09:41:19 reinelt Exp $ +/* $Id: layout.c,v 1.12 2004/06/20 10:09:56 reinelt Exp $ * * new layouter framework * @@ -23,6 +23,10 @@ * * * $Log: layout.c,v $ + * Revision 1.12 2004/06/20 10:09:56 reinelt + * + * 'const'ified the whole source + * * Revision 1.11 2004/06/02 09:41:19 reinelt * * prepared support for startup splash screen @@ -96,7 +100,7 @@ #endif -int layout_addItem (char *name, int row, int col) +int layout_addItem (const char *name, const int row, const int col) { // allocate widget widget_add (name, row-1, col-1); @@ -104,7 +108,7 @@ int layout_addItem (char *name, int row, int col) } -int layout_init (char *layout) +int layout_init (const char *layout) { char *section; char *list, *l; -- cgit v1.2.3