X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3a9be3b03e764af6a69418124a4e213713b2fd6d..7f04fa5306f52960db709bb520c49e9f4ecec000:/include/xbt/strbuff.h diff --git a/include/xbt/strbuff.h b/include/xbt/strbuff.h index 1666655730..d3f9636909 100644 --- a/include/xbt/strbuff.h +++ b/include/xbt/strbuff.h @@ -1,5 +1,3 @@ -/* $Id: buff.h 3483 2007-05-07 11:18:56Z mquinson $ */ - /* strbuff -- string buffers */ /* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. @@ -28,7 +26,7 @@ typedef struct { XBT_PUBLIC(void) xbt_strbuff_empty(xbt_strbuff_t b); XBT_PUBLIC(xbt_strbuff_t) xbt_strbuff_new(void); -XBT_PUBLIC(xbt_strbuff_t) xbt_strbuff_new_from(char *s); +XBT_PUBLIC(xbt_strbuff_t) xbt_strbuff_new_from(const char *s); XBT_PUBLIC(void) xbt_strbuff_free(xbt_strbuff_t b); XBT_PUBLIC(void) xbt_strbuff_free_container(xbt_strbuff_t b); XBT_PUBLIC(void) xbt_strbuff_append(xbt_strbuff_t b, const char *toadd);