• Show log

    Commit

  • Hash : 35375101
    Author : Azat Khuzhin
    Date : 2023-01-27T08:57:33

    Fixes some new warnings under clang-15
    
    - -Wdeprecated-non-prototype
    
      /src/le/libevent/strlcpy.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      event_strlcpy_(dst, src, siz)
    
    - -Wstrict-prototypes
    
      /src/le/libevent/evthread.c:82:70: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      struct evthread_condition_callbacks *evthread_get_condition_callbacks()
    
    - -Wunused-but-set-variable
    
      /src/le/libevent/test/regress_buffer.c:130:6: warning: variable 'n' set but not used [-Wunused-but-set-variable]
              int n = 0;
                                                                         ^