Initial Contribution

This commit is contained in:
The Android Open Source Project
2008-10-21 07:00:00 -07:00
commit b6c1cf6de7
384 changed files with 648683 additions and 0 deletions

12
tools/lsd/common.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef COMMON_H
#define COMMON_H
#include <libelf.h>
#include <elf.h>
#define unlikely(expr) __builtin_expect (expr, 0)
#define likely(expr) __builtin_expect (expr, 1)
#define MIN(a,b) ((a)<(b)?(a):(b)) /* no side effects in arguments allowed! */
#endif/*COMMON_H*/