You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
replace header guards with #pragma once
This commit is contained in:
@ -27,8 +27,7 @@
|
||||
|
||||
/** @file */
|
||||
|
||||
#ifndef MCAST_IMPL_H__
|
||||
#define MCAST_IMPL_H__
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
@ -63,5 +62,4 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef FIFO_H
|
||||
#define FIFO_H
|
||||
#pragma once
|
||||
|
||||
#include "threads.h"
|
||||
#include "produconsum.h"
|
||||
@ -33,4 +32,3 @@ typedef struct fifo
|
||||
pthread_t thread;
|
||||
}* fifo_t;
|
||||
|
||||
#endif
|
||||
|
@ -24,8 +24,7 @@
|
||||
* class Multicast interface
|
||||
*/
|
||||
|
||||
#ifndef MULTICAST_H
|
||||
#define MULTICAST_H
|
||||
#pragma once
|
||||
|
||||
#include "messagequeue.h"
|
||||
|
||||
@ -130,5 +129,4 @@ private:
|
||||
|
||||
} //namespace
|
||||
|
||||
#endif //MULTICAST_H
|
||||
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef PARTICIPANTS_H
|
||||
#define PARTICIPANTS_H
|
||||
#pragma once
|
||||
|
||||
#define MAX_CLIENTS 1024
|
||||
|
||||
@ -28,4 +27,3 @@ typedef struct participantsDb* participantsDb_t;
|
||||
void udpc_printNotSet(participantsDb_t db, char* d);
|
||||
void udpc_printSet(participantsDb_t db, char* d);
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef PRODUCONSUM_H
|
||||
#define PRODUCONSUM_H
|
||||
#pragma once
|
||||
|
||||
typedef struct produconsum* produconsum_t;
|
||||
|
||||
@ -25,4 +24,3 @@ typedef struct produconsum* produconsum_t;
|
||||
*/
|
||||
int pc_consumeAnyContiguous(produconsum_t pc);
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef SOCKLIB_H
|
||||
#define SOCKLIB_H
|
||||
#pragma once
|
||||
|
||||
#ifndef UDPCAST_CONFIG_H
|
||||
# define UDPCAST_CONFIG_H
|
||||
@ -173,4 +172,3 @@ static inline void initMsgHdr(struct msghdr* hdr)
|
||||
typedef unsigned long in_addr_t;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef STATISTICS_H
|
||||
#define STATISTICS_H
|
||||
#pragma once
|
||||
|
||||
|
||||
typedef struct receiver_stats* receiver_stats_t;
|
||||
@ -39,4 +38,3 @@ sender_stats_t udpc_allocSenderStats(int fd, FILE* logfile, long bwPeriod,
|
||||
void udpc_displaySenderStats(sender_stats_t, int blockSize, int sliceSize,
|
||||
int isFinal);
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef UDPCTHREADS_H
|
||||
#define UDPCTHREADS_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __MINGW32__
|
||||
|
||||
@ -155,4 +154,3 @@ static inline int pthread_cond_timedwait(pthread_cond_t* cond,
|
||||
#define THREAD_RETURN void *
|
||||
#endif /* __MINGW32__ */
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef UDP_SENDER_H
|
||||
#define UDP_SENDER_H
|
||||
#pragma once
|
||||
|
||||
#include "udp-sender.h"
|
||||
#include "udpcast.h"
|
||||
@ -105,4 +104,3 @@ int localReader(struct fifo* fifo, int in);
|
||||
*/
|
||||
#define FLAG_STREAMING 0x0100
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef UDPC_PROTOC_H
|
||||
#define UDPC_PROTOC_H
|
||||
#pragma once
|
||||
|
||||
#include "udpcast.h"
|
||||
|
||||
@ -214,4 +213,3 @@ union serverDataMsg
|
||||
CAP_BIG_ENDIAN)
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef UDPCAST_H
|
||||
#define UDPCAST_H
|
||||
#pragma once
|
||||
|
||||
#include "socklib.h"
|
||||
#include <sys/time.h>
|
||||
@ -159,4 +158,3 @@ int udpc_shouldPrintUncompressedPos(int deflt, int fd, int pipe);
|
||||
# define DEBUG 0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -15,8 +15,7 @@
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#ifndef UTIL_H
|
||||
#define UTIL_H
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -31,4 +30,3 @@
|
||||
#define BIT_ISSET(x, map) (map[POS(x,map)] & MASK(x,map))
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user