summaryrefslogtreecommitdiff
path: root/ldso/ldso/sh/dl-syscalls.h
blob: f0f4baed81ecf63524a703588094c21632741348 (plain)
1
2
3
4
5
6
/* We can't use the real errno in ldso, since it has not yet
 * been dynamicly linked in yet. */
extern int _dl_errno;
#define __set_errno(X) {(_dl_errno) = (X);}
#include "sys/syscall.h"