Skip to content

Commit

Permalink
com32: Move suffix_number() from libutil to libcom32
Browse files Browse the repository at this point in the history
  • Loading branch information
geneC committed Feb 9, 2011
1 parent 46e063f commit e86bdcd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions com32/lib/Makefile
Expand Up @@ -32,6 +32,8 @@ LIBOBJS = \
\
dprintf.o vdprintf.o \
\
suffix_number.o \
\
sys/readdir.o getcwd.o chdir.o fdopendir.o \
\
libgcc/__ashldi3.o libgcc/__udivdi3.o \
Expand Down
Expand Up @@ -33,7 +33,6 @@
*/

#include <stdlib.h>
#include <suffix_number.h>

/* Get a value with a potential suffix (k/m/g/t/p/e) */
unsigned long long suffix_number(const char *str)
Expand Down
3 changes: 1 addition & 2 deletions com32/libutil/Makefile
Expand Up @@ -33,8 +33,7 @@ topdir = ../..
include ../MCONFIG

LIBOBJS = ansiline.o ansiraw.o get_key.o sha1hash.o unbase64.o \
md5.o crypt-md5.o sha256crypt.o sha512crypt.o base64.o \
suffix_number.o
md5.o crypt-md5.o sha256crypt.o sha512crypt.o base64.o
LNXLIBOBJS = $(patsubst %.o,%.lo,$(LIBOBJS))

all: libutil_com.a libutil_lnx.a
Expand Down

0 comments on commit e86bdcd

Please sign in to comment.