File tree Expand file tree Collapse file tree 7 files changed +19
-5
lines changed
Expand file tree Collapse file tree 7 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 2929#endif
3030
3131#include <stdio.h>
32+ #include <string.h>
3233
3334#define MONGO_RETRY_TIMEOUT 60
3435
Original file line number Diff line number Diff line change 2727#include "ejudge/xalloc.h"
2828#include "ejudge/errlog.h"
2929
30+ #include <stdio.h>
31+
3032static struct generic_conn *
3133free_func (struct generic_conn * gc )
3234{
Original file line number Diff line number Diff line change 4040#include <curl/curl.h>
4141#endif
4242
43- #include <pthread.h>
44- #include <string.h>
4543#include <ctype.h>
4644#include <signal.h>
45+ #include <stdio.h>
46+ #include <string.h>
47+ #include <pthread.h>
4748
4849static struct common_plugin_data *
4950init_func (void );
Original file line number Diff line number Diff line change 1414 * GNU General Public License for more details.
1515 */
1616
17+ #include "telegram_chat.h"
18+
1719#include "ejudge/bson_utils.h"
20+
1821#include "ejudge/xalloc.h"
1922#include "ejudge/errlog.h"
2023#include "ejudge/osdeps.h"
2124
22- #include "telegram_chat.h"
2325#include "mongo_conn.h"
2426
2527#if HAVE_LIBMONGOC - 0 > 1
3133#endif
3234
3335#include <errno.h>
36+ #include <string.h>
3437
3538#if HAVE_LIBMONGOC - 0 > 0
3639struct _bson_t ;
Original file line number Diff line number Diff line change 1414 * GNU General Public License for more details.
1515 */
1616
17+ #include "telegram_chat_state.h"
18+
1719#include "ejudge/bson_utils.h"
20+
1821#include "ejudge/xalloc.h"
1922#include "ejudge/errlog.h"
2023#include "ejudge/osdeps.h"
2124
22- #include "telegram_chat_state.h"
2325#include "mongo_conn.h"
2426
2527#if HAVE_LIBMONGOC - 0 > 1
3133#endif
3234
3335#include <errno.h>
36+ #include <string.h>
3437
3538#if HAVE_LIBMONGOC - 0 > 0
3639struct _bson_t ;
Original file line number Diff line number Diff line change 3131#endif
3232
3333#include <errno.h>
34+ #include <stdio.h>
3435#include <string.h>
3536
3637#if HAVE_LIBMONGOC - 0 > 0
Original file line number Diff line number Diff line change 1414 * GNU General Public License for more details.
1515 */
1616
17+ #include "telegram_user.h"
18+
1719#include "ejudge/bson_utils.h"
20+
1821#include "ejudge/xalloc.h"
1922#include "ejudge/errlog.h"
2023#include "ejudge/osdeps.h"
2124
22- #include "telegram_user.h"
2325#include "mongo_conn.h"
2426
2527#if HAVE_LIBMONGOC - 0 > 1
3133#endif
3234
3335#include <errno.h>
36+ #include <string.h>
3437
3538#if HAVE_LIBMONGOC - 0 > 0
3639struct _bson_t ;
You can’t perform that action at this time.
0 commit comments