view pixmaps/gen-inline-pixbufs.sh @ 13958:fbd4f9645b57 v8.0.1849

patch 8.0.1849: compiler warning for unused arguments, missing prototype commit https://github.com/vim/vim/commit/0b39464f69ae8ca9acf6e5bff4435fd0693e22f6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 17 13:11:46 2018 +0200 patch 8.0.1849: compiler warning for unused arguments, missing prototype Problem: compiler warning for unused arguments and missing prototype Solution: Add UNUSED. Add static.
author Christian Brabandt <cb@256bit.org>
date Thu, 17 May 2018 13:15:06 +0200
parents 3fc0f57ecb91
children d4faa2c5211b
line wrap: on
line source

#! /bin/sh

prefix=stock_
list=

for file in "$@"
do
    name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'`
    list="$list $prefix$name $file"
done

gdk-pixbuf-csource --raw --static --build-list $list