2013-01-11 20:32:42 +00:00
|
|
|
/^#@INSERT_SYS_SELECT_H@/ d
|
|
|
|
/^@FALLBACK_SOCKLEN_T@/ d
|
2013-01-12 15:14:09 +00:00
|
|
|
/^# *include <stdlib\.h>/ d
|
|
|
|
/^# *include <string\.h>/ d
|
|
|
|
/^# *include <winsock2\.h>/ d
|
|
|
|
/^# *include <ws2tcpip\.h>/ d
|
|
|
|
/^# *include <time\.h>/ d
|
|
|
|
/^# *include <sys\/socket\.h>/ d
|
|
|
|
/^# *include <sys\/time\.h>/ d
|
2013-11-07 05:35:50 +00:00
|
|
|
/^ typedef long ssize_t;/ d
|
|
|
|
/^ typedef int pid_t;/ d
|
2013-01-12 15:14:09 +00:00
|
|
|
/^# *include <gpg-error\.h>/ s,#include <gpg-error.h>,#include <grub/gcrypt/gpg-error.h>,
|
2013-01-13 20:06:25 +00:00
|
|
|
/^typedef gpg_error_t gcry_error_t;/ d
|
|
|
|
/^typedef gpg_err_code_t gcry_err_code_t;/ d
|
|
|
|
/^typedef struct gcry_mpi \*gcry_mpi_t;/ d
|
2013-11-07 05:35:50 +00:00
|
|
|
/^struct gcry_thread_cbs/ d
|
2013-01-11 20:32:42 +00:00
|
|
|
s,_gcry_mpi_invm,gcry_mpi_invm,g
|
|
|
|
p
|