X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcfdstream.h;h=285c796d07dcd6bfeaf06100e4349a11c0c845a8;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hp=604c0b9022a810035bb4fcdba4a4cccf37bdc8ad;hpb=b04c7fe6184af5fb9d51008c12e785de7c97a0ee;p=silc.git diff --git a/lib/silcutil/silcfdstream.h b/lib/silcutil/silcfdstream.h index 604c0b90..285c796d 100644 --- a/lib/silcutil/silcfdstream.h +++ b/lib/silcutil/silcfdstream.h @@ -144,18 +144,7 @@ SilcStream silc_fd_stream_file2(const char *read_file, const char *write_file, SilcBool silc_fd_stream_get_info(SilcStream stream, int *read_fd, int *write_fd); -/****f* silcutil/SilcFDStreamAPI/silc_fd_stream_get_error - * - * SYNOPSIS - * - * int silc_fd_stream_get_error(SilcStream stream); - * - * DESCRIPTION - * - * If error occurred during file descriptor stream operations, this - * function can be used to retrieve the error number that occurred. - * - ***/ -int silc_fd_stream_get_error(SilcStream stream); +/* Backwards support */ +#define silc_fd_stream_get_error(stream) silc_errno #endif /* SILCFDSTREAM_H */