If you were creating from scratch a new fuunction for remove_s_french, you would now use a template to create the function you wish to add to SMART. Usually, this template is an existing function which does a similar job to the function we wish to add; in our case, this would be the remove_s function from index.stem.remove_s.
Distributed with this document is the file remove_s_french.c. Place this file in the directory smart.11.0/src/liblocal/libindexing . Note that the file remove_s_french.c distributed does not implement french stemming rules yet.
Hint: while doing the modifications in libproc and adding the functions in libindexing, take the time to fill the appropriate fields for the docsmart documentation (the comment lines starting in *1, *2, etc.). There is no time like the present (most appropriate for documentation writing), and remember you will never be this close to the code you are writing after that moment.