Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/uuid
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- Location:
- branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/uuid
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/uuid/Kbuild
r1765 r2725 1 # DO NOT EDIT. This file is generated from Kbuild.src 1 2 # Makefile for busybox 2 3 # 3 4 # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> 4 5 # 5 # Licensed under the GPL v2, see the file LICENSE in this tarball.6 # Licensed under GPLv2, see file LICENSE in this source tree. 6 7 7 8 NEEDED-$(CONFIG_E2FSCK) = y … … 11 12 12 13 lib-y:= 14 15 13 16 lib-$(NEEDED-y) += compare.o gen_uuid.o pack.o parse.o unpack.o unparse.o \ 14 17 uuid_time.o -
branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/uuid/gen_uuid.c
r1765 r2725 166 166 for (i = 0; i < n; i+= ifreq_size(*ifrp) ) { 167 167 ifrp = (struct ifreq *)((char *) ifc.ifc_buf+i); 168 strncpy (ifr.ifr_name, ifrp->ifr_name, IFNAMSIZ);168 strncpy_IFNAMSIZ(ifr.ifr_name, ifrp->ifr_name); 169 169 #ifdef SIOCGIFHWADDR 170 170 if (ioctl(sd, SIOCGIFHWADDR, &ifr) < 0) -
branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/uuid/uuid.h
r1765 r2725 33 33 * %End-Header% 34 34 */ 35 36 #ifndef _UUID_UUID_H 37 #define _UUID_UUID_H 35 #ifndef UUID_UUID_H 36 #define UUID_UUID_H 1 38 37 39 38 #include <sys/types.h> … … 55 54 #ifdef __GNUC__ 56 55 #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ 57 static const uuid_t name ATTRIBUTE_UNUSED= {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15}56 static const uuid_t name UNUSED_PARAM = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15} 58 57 #else 59 58 #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ -
branches/2.2.9/mindi-busybox/e2fsprogs/old_e2fsprogs/uuid/uuid_time.c
r1765 r2725 148 148 break; 149 149 default: 150 puts("");150 bb_putchar('\n'); 151 151 } 152 152 if (type != 1) {
Note:
See TracChangeset
for help on using the changeset viewer.