Commit d412c4bb authored by Ludovic Rousseau's avatar Ludovic Rousseau

Doxygen: do not document disabled functions

If USE_LIBSYSTEMD is not defined then ListenExistingSocket() is not
implemented and the associated Doxygen documentation should not be
present.

Fix Doxygen warning:
PCSC/src/winscard_msg_srv.c:193: warning: argument 'fd' of command @param is not found in the argument list of ProcessEventsServer(uint32_t *pdwClientID)
parent e4f50dc1
......@@ -164,6 +164,7 @@ INTERNAL int32_t InitializeSocket(void)
return 0;
}
#ifdef USE_LIBSYSTEMD
/**
* @brief Acquires a socket passed in from systemd.
*
......@@ -176,7 +177,6 @@ INTERNAL int32_t InitializeSocket(void)
* @retval 0 Success
* @retval -1 Passed FD is not an UNIX socket.
*/
#ifdef USE_LIBSYSTEMD
INTERNAL int32_t ListenExistingSocket(int fd)
{
if (!sd_is_socket(fd, AF_UNIX, SOCK_STREAM, -1))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment