Author: bonefish Date: 2011-01-08 23:18:49 +0100 (Sat, 08 Jan 2011) New Revision: 40169 Changeset: http://dev.haiku-os.org/changeset/40169 Modified: haiku/branches/developer/bonefish/signals/src/bin/fwcontrol/fwcrom.c Log: The crom_add_simple_text() had been changed earlier. Modified: haiku/branches/developer/bonefish/signals/src/bin/fwcontrol/fwcrom.c =================================================================== --- haiku/branches/developer/bonefish/signals/src/bin/fwcontrol/fwcrom.c 2011-01-08 22:15:02 UTC (rev 40168) +++ haiku/branches/developer/bonefish/signals/src/bin/fwcontrol/fwcrom.c 2011-01-08 22:18:49 UTC (rev 40169) @@ -1,7 +1,7 @@ /*- * Copyright (c) 2002-2003 * Hidetoshi Shimokawa. All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -18,7 +18,7 @@ * 4. Neither the name of the author nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -430,7 +430,7 @@ struct csrreg reg; uint32_t i; } foo; - + foo.reg.key = key; foo.reg.val = val; return (crom_add_quad(chunk, foo.i)); @@ -460,7 +460,7 @@ #define MAX_TEXT ((CROM_MAX_CHUNK_LEN + 1) * 4 - sizeof(struct csrtext)) int crom_add_simple_text(struct crom_src *src, struct crom_chunk *parent, - struct crom_chunk *chunk, char *buf) + struct crom_chunk *chunk, const char *buf) { struct csrtext *tl; uint32_t *p;