Don't building map_syscall_name_to_number where its not used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15340 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -112,6 +112,8 @@ try_aix(void)
|
|||||||
* there's a /etc/name_to_sysnum file.
|
* there's a /etc/name_to_sysnum file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(AFS_SYSCALL) || defined(AFS_SYSCALL2) || defined(AFS_SYSCALL3)
|
||||||
|
|
||||||
#define _PATH_ETC_NAME_TO_SYSNUM "/etc/name_to_sysnum"
|
#define _PATH_ETC_NAME_TO_SYSNUM "/etc/name_to_sysnum"
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@@ -143,6 +145,7 @@ map_syscall_name_to_number (const char *str, int *res)
|
|||||||
fclose (f);
|
fclose (f);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
try_proc(const char *path)
|
try_proc(const char *path)
|
||||||
|
Reference in New Issue
Block a user