Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
16ea0909
Commit
16ea0909
authored
Aug 14, 2012
by
Pieter Noordhuis
Browse files
Prefix header guards with _
parent
2b61fd1a
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/address.h
View file @
16ea0909
#ifndef HIREDIS_ADDRESS_H
#ifndef
_
HIREDIS_ADDRESS_H
#define HIREDIS_ADDRESS_H 1
#define
_
HIREDIS_ADDRESS_H 1
/* struct sockaddr_(in|in6|un) */
/* struct sockaddr_(in|in6|un) */
#include <netinet/in.h>
#include <netinet/in.h>
...
...
src/common.h
View file @
16ea0909
#ifndef HIREDIS_COMMON_H
#ifndef
_
HIREDIS_COMMON_H
#define HIREDIS_COMMON_H 1
#define
_
HIREDIS_COMMON_H 1
#define REDIS_OK 0
#define REDIS_OK 0
#define REDIS_ESYS -1
#define REDIS_ESYS -1
...
...
src/fd.h
View file @
16ea0909
#ifndef HIREDIS_FD_H
#ifndef
_
HIREDIS_FD_H
#define HIREDIS_FD_H 1
#define
_
HIREDIS_FD_H 1
#include "common.h"
#include "common.h"
#include "address.h"
#include "address.h"
...
...
src/fmacros.h
View file @
16ea0909
#ifndef
_
_HIREDIS_FMACRO_H
#ifndef _HIREDIS_FMACRO_H
#define
_
_HIREDIS_FMACRO_H
#define _HIREDIS_FMACRO_H
1
#if !defined(_BSD_SOURCE)
#if !defined(_BSD_SOURCE)
#define _BSD_SOURCE
#define _BSD_SOURCE
...
...
src/request.h
View file @
16ea0909
#ifndef HIREDIS_REQUEST_H
#ifndef
_
HIREDIS_REQUEST_H
#define HIREDIS_REQUEST_H 1
#define
_
HIREDIS_REQUEST_H 1
#include <stddef.h>
/* offsetof */
#include <stddef.h>
/* offsetof */
#include "ngx-queue.h"
#include "ngx-queue.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment