The rcsid variable is static an unused, causing a build warning. Let's just add __attribute__((unused)) to shut the warning. This may be backported to 2.0.
Creating a "mocked" version mainly for testing purposes.