diff options
author | brian <brian@FreeBSD.org> | 1999-11-16 21:57:34 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-11-16 21:57:34 +0000 |
commit | e6e4bcef4357616b146553ad1ac922c436b9bd0f (patch) | |
tree | c0799c864d2517e318d3cc4c032dfe10a6ef9ac6 /usr.sbin/ppp/id.h | |
parent | fa089ea40acd74f58a2bb83ae7c5939434527ff5 (diff) | |
download | FreeBSD-src-e6e4bcef4357616b146553ad1ac922c436b9bd0f.zip FreeBSD-src-e6e4bcef4357616b146553ad1ac922c436b9bd0f.tar.gz |
Use modfind() to check if a kld is already loaded.
Submitted mostly by: green
Diffstat (limited to 'usr.sbin/ppp/id.h')
-rw-r--r-- | usr.sbin/ppp/id.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/id.h b/usr.sbin/ppp/id.h index bba273f..3254f64 100644 --- a/usr.sbin/ppp/id.h +++ b/usr.sbin/ppp/id.h @@ -45,6 +45,6 @@ extern void ID0logout(const char *, int); extern int ID0bind_un(int, const struct sockaddr_un *); extern int ID0connect_un(int, const struct sockaddr_un *); extern int ID0kill(pid_t, int); -#ifdef KLDSYM_LOOKUP +#if defined(__FreeBSD__) && !defined(NOKLDLOAD) extern int ID0kldload(const char *); #endif |