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:
Love Hörnquist Åstrand
2005-06-02 07:25:58 +00:00
parent 1e11681354
commit 7a3b0e2dcd

View File

@@ -112,6 +112,8 @@ try_aix(void)
* 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"
static int
@@ -143,6 +145,7 @@ map_syscall_name_to_number (const char *str, int *res)
fclose (f);
return -1;
}
#endif
static int
try_proc(const char *path)