aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-01-03 16:13:06 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-06-21 10:02:00 +0200
commitfc0cf5926b136159326c0bd7686649a3044fd721 (patch)
tree21f8a96b5c76924c3929f2f0508d0a69001130d7 /README
parentc48f6ced23e339750cb97f0eb8f32c40d52c8719 (diff)
downloadsparse-dev-fc0cf5926b136159326c0bd7686649a3044fd721.tar.gz
ptrlist: remove the now unneeded FOR_EACH_PTR_NOTAG()
Now that FOR_EACH_PTR() doesn't strip the tag anymore, there is no more needs for FOR_EACH_PTR_NOTAG() as both do the same. So convert the few uses to FOR_EACH_PTR() and remove its definition. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 033ae15d..c787e644 100644
--- a/README
+++ b/README
@@ -52,9 +52,9 @@ This means that a user of the library will literally just need to do
action(sparse_initialize(argc, argv, filelist));
- FOR_EACH_PTR_NOTAG(filelist, file) {
+ FOR_EACH_PTR(filelist, file) {
action(sparse(file));
- } END_FOR_EACH_PTR_NOTAG(file);
+ } END_FOR_EACH_PTR(file);
and he is now done - having a full C parse of the file he opened. The
library doesn't need any more setup, and once done does not impose any