diff options
author | dillon <dillon@FreeBSD.org> | 2001-09-16 21:35:07 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-09-16 21:35:07 +0000 |
commit | 41abc6d4e41c16aaf60fbf44b2ffe0c561b27318 (patch) | |
tree | 2e51a4885e624872098f817a7148743fbac950c4 /lib/libcrypt | |
parent | 42e6b3b99dc6f29192fb07408f500cc8f1eb91d9 (diff) | |
download | FreeBSD-src-41abc6d4e41c16aaf60fbf44b2ffe0c561b27318.zip FreeBSD-src-41abc6d4e41c16aaf60fbf44b2ffe0c561b27318.tar.gz |
Implement __FBSDID()
Diffstat (limited to 'lib/libcrypt')
-rw-r--r-- | lib/libcrypt/crypt-md5.c | 6 | ||||
-rw-r--r-- | lib/libcrypt/crypt.c | 6 | ||||
-rw-r--r-- | lib/libcrypt/misc.c | 6 |
3 files changed, 7 insertions, 11 deletions
diff --git a/lib/libcrypt/crypt-md5.c b/lib/libcrypt/crypt-md5.c index 98bf0b4..32ad75b 100644 --- a/lib/libcrypt/crypt-md5.c +++ b/lib/libcrypt/crypt-md5.c @@ -7,10 +7,8 @@ * ---------------------------------------------------------------------------- */ -#if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = \ -"$FreeBSD$"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <unistd.h> #include <stdio.h> diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c index b1a0bb1..4f77c75 100644 --- a/lib/libcrypt/crypt.c +++ b/lib/libcrypt/crypt.c @@ -24,10 +24,8 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = -"$FreeBSD$"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <string.h> diff --git a/lib/libcrypt/misc.c b/lib/libcrypt/misc.c index 5cad45d..de2e024 100644 --- a/lib/libcrypt/misc.c +++ b/lib/libcrypt/misc.c @@ -25,11 +25,11 @@ * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ - * */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; |