Port getdomainname() to RTEMS

This commit is contained in:
Sebastian Huber
2016-09-07 15:43:44 +02:00
parent a4394109df
commit 7f75b564fc
3 changed files with 6 additions and 0 deletions

View File

@@ -43,7 +43,11 @@ __FBSDID("$FreeBSD$");
int
getdomainname(name, namelen)
char *name;
#ifndef __rtems__
int namelen;
#else /* __rtems__ */
size_t namelen;
#endif /* __rtems__ */
{
int mib[2];
size_t size;