X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ffork%2Ffork2.c;h=b156ac1e5832c096d2660f0cd1bbf5b458070a14;hb=fd0a1aea7b67696a87ffe70b8d3d8c15424f0bca;hp=ae8f800d5561ffdfb3177e7948137e4e53aa40ba;hpb=2cd35d512eb5bc63c2f9ebc1b748a54cd03cc4b3;p=ust.git diff --git a/tests/fork/fork2.c b/tests/fork/fork2.c index ae8f800..b156ac1 100644 --- a/tests/fork/fork2.c +++ b/tests/fork/fork2.c @@ -1,3 +1,20 @@ +/* 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 @@ -7,7 +24,7 @@ int main() { printf("IN FORK2\n"); - trace_mark(ust, after_exec, MARK_NOARGS); + ust_marker(after_exec, UST_MARKER_NOARGS); return 0; }