[stef...@apache.org]
> * subversion/libsvn_fs_fs/util.h
>   (RECOVERABLE_RETRY_COUNT,
    [...]
>    move_into_place): lib-locally declare functions previously
>    private in fs_fs.c

This is a problem - on many OSes[*], all global functions and variables
that are not 'static', i.e., anything not file-scoped, are exported and
available to third parties from the shared library.  We don't want to
export something like move_into_place() or read_content(), even if we
don't declare it in a header file.  This is what the fs_fs__ prefix,
with double underscore, is for.

Peter

[*] On ELF platforms such as Linux, it is generally possible to have a
    symbol private to a library but not file-scoped, but I'm pretty
    sure we don't use this ability.  On other non-ELF Unix platforms,
    this may not be possible at all.  On Windows, I guess symbols are
    always exported explicitly to a DLL.

Reply via email to