From 5871dfcc16e07be462a3e090994abc6f82b65f01 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 7 Sep 2016 09:26:00 +0200
Subject: [PATCH] checksrc: detect strtok() use

... as that function slipped through once before.
---
 lib/checksrc.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/checksrc.pl b/lib/checksrc.pl
index f31083a63..83c38b239 100755
--- a/lib/checksrc.pl
+++ b/lib/checksrc.pl
@@ -423,6 +423,7 @@ sub scanfile {
         # scan for use of banned functions
         if($l =~ /^(.*\W)
                    (gets|
+	            strtok|
                     v?sprintf|
                     (str|_mbs|_tcs|_wcs)n?cat|
                     LoadLibrary(Ex)?(A|W)?)
-- 
2.40.0