code: def filter_lines(lines):
      lines = [
          line
          for line in map(str.strip, lines)
          if line and not line.startswith("#")
      ]
      func_sigs = [
          split_signature(line)
          for line in lines
          if line.split(" ")[0] != "void"
      ]
      sub_sigs = [
          split_signature(line)
          for line in lines
          if line.split(" ")[0] == "void"
      ]
      all_sigs = list(sorted(func_sigs + sub_sigs, key=itemgetter(0)))
      return func_sigs, sub_sigs, all_sigs
  
imports: from collections import defaultdict
  from operator import itemgetter
  import os
  from stat import ST_MTIME
  import argparse
label_desc: Use image node_id 21 for calling a global function with example usage: filter_lines(lines) and returns: func_sigs,  sub_sigs,  all_sigs