diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2008-11-23 00:16:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-23 19:56:57 -0800 |
commit | 7de1950cb28cee7d6b1e9cdaf22f30ddcdc5bd01 (patch) | |
tree | 3b5f07a64f65ad5085537fec3e8f214c1efb0b71 /interpolate.h | |
parent | a47551c3828f81ec88d5b0b3d05887f1a7a4233a (diff) | |
download | git-7de1950cb28cee7d6b1e9cdaf22f30ddcdc5bd01.tar.gz |
remove the unused files interpolate.c and interpolate.h
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'interpolate.h')
-rw-r--r-- | interpolate.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/interpolate.h b/interpolate.h deleted file mode 100644 index 77407e67dc..0000000000 --- a/interpolate.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright 2006 Jon Loeliger - */ - -#ifndef INTERPOLATE_H -#define INTERPOLATE_H - -/* - * Convert a NUL-terminated string in buffer orig, - * performing substitutions on %-named sub-strings from - * the interpretation table. - */ - -struct interp { - const char *name; - char *value; -}; - -extern void interp_set_entry(struct interp *table, int slot, const char *value); -extern void interp_clear_table(struct interp *table, int ninterps); - -extern unsigned long interpolate(char *result, unsigned long reslen, - const char *orig, - const struct interp *interps, int ninterps); - -#endif /* INTERPOLATE_H */ |