diff --git a/cameo/path.c b/cameo/path.c index 886a87b..de84255 100644 --- a/cameo/path.c +++ b/cameo/path.c @@ -57,7 +57,7 @@ struct path *path_new(double r_tool, const char *id) } -static struct path *path_from(const struct path *old) +struct path *path_from(const struct path *old) { struct path *new; diff --git a/cameo/path.h b/cameo/path.h index ba66b4e..e5ee305 100644 --- a/cameo/path.h +++ b/cameo/path.h @@ -1,8 +1,8 @@ /* * path.h - Toolpath operations * - * Written 2010-2012 by Werner Almesberger - * Copyright 2010-2012 Werner Almesberger + * Written 2010-2012, 2015 by Werner Almesberger + * Copyright 2010-2012, 2015 Werner Almesberger * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,6 +51,7 @@ static inline int points_eq(const struct point *a, const struct point *b) struct path *path_new(double r_tool, const char *id); +struct path *path_from(const struct path *old); void path_add(struct path *path, double x, double y, double z); struct path *path_reverse(const struct path *path); struct path *path_clone(const struct path *path);