Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
6042c569
Commit
6042c569
authored
Oct 31, 2010
by
Pieter Noordhuis
Browse files
Move include of stdio.h to hiredis.h for size_t
parent
1d4f16b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
hiredis.c
View file @
6042c569
...
...
@@ -27,7 +27,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
...
...
hiredis.h
View file @
6042c569
...
...
@@ -29,7 +29,8 @@
#ifndef __HIREDIS_H
#define __HIREDIS_H
#include <stdarg.h>
#include <stdio.h>
/* for size_t */
#include <stdarg.h>
/* for va_list */
#define REDIS_ERR -1
#define REDIS_OK 0
...
...
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