am 9e401df6: am 1447332f: Merge "move some typedefs to procfs.h required by gdbserver build"

* commit '9e401df692e3c47124cbaff7b866f55eec3bba27':
  move some typedefs to procfs.h required by gdbserver build
This commit is contained in:
David Turner 2011-02-07 13:51:22 -08:00 committed by Android Git Automerger
commit ae54025061
2 changed files with 23 additions and 3 deletions

View File

@ -0,0 +1,22 @@
/*
* Copyright 2006 The Android Open Source Project
*/
#ifndef _SYS_PROCFS_H
#define _SYS_PROCFS_H
#include <sys/types.h>
#ifdef __cplusplus
extern "C"{
#endif
typedef pid_t lwpid_t;
typedef void *psaddr_t;
#ifdef __cplusplus
}
#endif
#endif

View File

@ -9,9 +9,7 @@
#include <signal.h>
#include <stdint.h>
#include <sys/types.h>
typedef void *psaddr_t;
typedef pid_t lwpid_t;
#include <sys/procfs.h>
#define TD_THR_ANY_USER_FLAGS 0xffffffff
#define TD_THR_LOWEST_PRIORITY -20