X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fsnprintf%2Fprog.c;h=dd0b04f8e8927a3a74f912b9b79c1a477f40ebac;hb=3fa2687d72239b458cd1d3753842402cda1d1b90;hp=c6116fe30b221e2d0a4de42db029dbb8fb782035;hpb=69f1f6526a6d40556ed3dcb50cdc199f45793b2f;p=ust.git diff --git a/tests/snprintf/prog.c b/tests/snprintf/prog.c index c6116fe..dd0b04f 100644 --- a/tests/snprintf/prog.c +++ b/tests/snprintf/prog.c @@ -1,10 +1,27 @@ +/* Copyright (C) 2009 Pierre-Marc Fournier + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + #include #include +#include "ust_snprintf.h" int main() { char buf[100]; - char *expected; expected = "header 9999, hello, 005, ' 9'";