port to newer gcc/g++
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@1231 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
4c0e8a7186
commit
6eaf5da8de
13 changed files with 15 additions and 5 deletions
|
@ -4,6 +4,7 @@
|
|||
#define _DATATUPLE_H_
|
||||
|
||||
#include <string>
|
||||
#include <stdlib.h>
|
||||
typedef unsigned char byte;
|
||||
#include <cstring>
|
||||
#include <assert.h>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
typedef unsigned char byte;
|
||||
#include <cstring>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include <logstore.h>
|
||||
#include <datapage.h>
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include "logstore.h"
|
||||
#include "datapage.h"
|
||||
#include <assert.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include "logstore.h"
|
||||
#include "regionAllocator.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include "logstore.h"
|
||||
#include "datapage.h"
|
||||
#include "merger.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include "logstore.h"
|
||||
#include "datapage.h"
|
||||
#include "merger.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include "logstore.h"
|
||||
#include "datapage.h"
|
||||
#include "merger.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include "logstore.h"
|
||||
#include "datapage.h"
|
||||
#include "merger.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include "logstore.h"
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
|
@ -27,7 +28,7 @@
|
|||
#undef end
|
||||
|
||||
|
||||
static char * svrname = "localhost";
|
||||
static const char * svrname = "localhost";
|
||||
static int svrport = 32432;
|
||||
|
||||
void insertProbeIter(size_t NUM_ENTRIES)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include "logstore.h"
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
|
@ -20,7 +21,7 @@
|
|||
#undef end
|
||||
|
||||
|
||||
static char * svrname = "localhost";
|
||||
static const char * svrname = "localhost";
|
||||
static int svrport = 32432;
|
||||
|
||||
void insertProbeIter(size_t NUM_ENTRIES)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#ifndef CHECK_UTIL_H_
|
||||
#define CHECK_UTIL_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
logstore_handle_t * util_open_conn(int argc, char * argv[]) {
|
||||
bool ok = true;
|
||||
int svrport = 32432;
|
||||
char * svrname = "localhost";
|
||||
const char * svrname = "localhost";
|
||||
if(argc == 3) {
|
||||
svrport = atoi(argv[2]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue