1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-30 08:26:45 +02:00

rename reserved identifiers per C standard

This commit is contained in:
Jfreegman
2014-09-22 21:24:45 -04:00
parent bf54cb36ef
commit 133c0e8d63
41 changed files with 316 additions and 312 deletions

View File

@ -20,21 +20,21 @@
*
*/
#ifndef PROMPT_H_UZYGWFFL
#define PROMPT_H_UZYGWFFL
#ifndef PROMPT_H
#define PROMPT_H
#include "toxic.h"
#include "windows.h"
#ifdef _AUDIO
#ifdef AUDIO
#define AC_NUM_GLOB_COMMANDS 18
#else
#define AC_NUM_GLOB_COMMANDS 16
#endif /* _AUDIO */
#endif /* AUDIO */
#define MAX_FRIEND_REQUESTS 32
struct _friend_request {
struct friend_request {
bool active;
char msg[MAX_STR_SIZE];
uint8_t key[TOX_CLIENT_ID_SIZE];
@ -43,7 +43,7 @@ struct _friend_request {
typedef struct {
int max_idx;
int num_requests;
struct _friend_request request[MAX_FRIEND_REQUESTS];
struct friend_request request[MAX_FRIEND_REQUESTS];
} _FriendRequests;
ToxWindow new_prompt(void);
@ -55,4 +55,4 @@ void prompt_update_status(ToxWindow *prompt, uint8_t status);
void prompt_update_connectionstatus(ToxWindow *prompt, bool is_connected);
void kill_prompt_window(ToxWindow *self);
#endif /* end of include guard: PROMPT_H_UZYGWFFL */
#endif /* end of include guard: PROMPT_H */