view src/pathdef.sh @ 25703:e9687a2f6fb3 v8.2.3387

patch 8.2.3387: compiler warning for non-static function Commit: https://github.com/vim/vim/commit/de05ae71589f46c5d27642c33fe5eb21b22aaf5d Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Mon Aug 30 19:57:34 2021 +0200 patch 8.2.3387: compiler warning for non-static function Problem: Compiler warning for non-static function. Solution: Make the function static. (Dominique Pell?, closes https://github.com/vim/vim/issues/8816)
author Bram Moolenaar <Bram@vim.org>
date Mon, 30 Aug 2021 20:00:05 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

#! /bin/sh
#
# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists
#
if test -s auto/link.sed; then
  cp auto/pathdef.c auto/pathdef.tmp
  sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c
  rm -f auto/pathdef.tmp
fi

# vim:set sw=2 et: