diff options
author | jbj <devnull@localhost> | 2002-11-30 18:41:53 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-11-30 18:41:53 +0000 |
commit | 9b838f86043783a5b17b2a54a066fda56af5f9f3 (patch) | |
tree | 05f3cb37349303e38fd376b0dd48e5a4aada656f /elfutils/libelf | |
parent | fc990ef48b29b1b5995d9fe5ef229bb223ad5095 (diff) | |
download | librpm-tizen-9b838f86043783a5b17b2a54a066fda56af5f9f3.tar.gz librpm-tizen-9b838f86043783a5b17b2a54a066fda56af5f9f3.tar.bz2 librpm-tizen-9b838f86043783a5b17b2a54a066fda56af5f9f3.zip |
Initial revision
CVS patchset: 5903
CVS date: 2002/11/30 18:41:53
Diffstat (limited to 'elfutils/libelf')
-rw-r--r-- | elfutils/libelf/libelf_crc32.c | 20 | ||||
-rw-r--r-- | elfutils/libelf/libelf_next_prime.c | 18 |
2 files changed, 38 insertions, 0 deletions
diff --git a/elfutils/libelf/libelf_crc32.c b/elfutils/libelf/libelf_crc32.c new file mode 100644 index 000000000..a89b9e974 --- /dev/null +++ b/elfutils/libelf/libelf_crc32.c @@ -0,0 +1,20 @@ +/* Copyright (C) 2002 Red Hat, Inc. + + This program is Open Source software; you can redistribute it and/or + modify it under the terms of the Open Software License version 1.0 as + published by the Open Source Initiative. + + You should have received a copy of the Open Software License along + with this program; if not, you may obtain a copy of the Open Software + License version 1.0 from http://www.opensource.org/licenses/osl.php or + by writing the Open Source Initiative c/o Lawrence Rosen, Esq., + 3001 King Ranch Road, Ukiah, CA 95482. */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#define crc32 attribute_hidden __libelf_crc32 +#define LIB_SYSTEM_H 1 +#include <libelf.h> +#include "../lib/crc32.c" diff --git a/elfutils/libelf/libelf_next_prime.c b/elfutils/libelf/libelf_next_prime.c new file mode 100644 index 000000000..94b2a5937 --- /dev/null +++ b/elfutils/libelf/libelf_next_prime.c @@ -0,0 +1,18 @@ +/* Copyright (C) 2002 Red Hat, Inc. + + This program is Open Source software; you can redistribute it and/or + modify it under the terms of the Open Software License version 1.0 as + published by the Open Source Initiative. + + You should have received a copy of the Open Software License along + with this program; if not, you may obtain a copy of the Open Software + License version 1.0 from http://www.opensource.org/licenses/osl.php or + by writing the Open Source Initiative c/o Lawrence Rosen, Esq., + 3001 King Ranch Road, Ukiah, CA 95482. */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#define next_prime attribute_hidden __libelf_next_prime +#include "../lib/next_prime.c" |