Browse Source

The icdb magic number doesn't need to be visible to static links

ok tedu@
OPENBSD_6_0 openntpd-6.0p1
guenther 8 years ago
parent
commit
f143152775
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/stdlib/icdb.c

+ 2
- 2
src/lib/libc/stdlib/icdb.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: icdb.c,v 1.5 2015/12/27 01:26:47 chl Exp $ */
/* $OpenBSD: icdb.c,v 1.6 2016/05/30 03:06:58 guenther Exp $ */
/* /*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
* *
@ -100,7 +100,7 @@ struct icdb {
int fd; int fd;
}; };
const uint32_t magic = 0x1ca9d0b7;
static const uint32_t magic = 0x1ca9d0b7;
static uint32_t static uint32_t
roundup(uint32_t num) roundup(uint32_t num)


Loading…
Cancel
Save