X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=scripts%2Furcu-api-list.sh;h=3d150486ffcbf4ba9622b3166067411d279ff968;hp=551715524bdf65a4839719c14e9f3c42934b6e2a;hb=HEAD;hpb=10f55ae0997f28b138452bb6defee2182e166543 diff --git a/scripts/urcu-api-list.sh b/scripts/urcu-api-list.sh index 5517155..3f065b4 100755 --- a/scripts/urcu-api-list.sh +++ b/scripts/urcu-api-list.sh @@ -1,25 +1,13 @@ #!/bin/sh + +# SPDX-FileCopyrightText: 2013 IBM Corporation # +# SPDX-License-Identifier: GPL-2.0-or-later + # Run in userspace-rcu git archive. Prints out a list of API members # and the version in which they were introduced. You need to list all # the API members immediately below. Depends on "cscope". -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# Copyright (C) IBM Corporation, 2013 -# + # Authors: Paul E. McKenney api="caa_container_of \ @@ -227,7 +215,7 @@ do rm $T/$tag/call_rcu fi ( ls $T/$tag; ls $T/$lasttag ) | sort | uniq -u | - awk -v tag=$tag '{ print "" $1 "" tag "" }' + awk -v tag=$tag '{ print "\t" $1 "" tag "" }' lasttag=$tag done