1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-22 15:10:38 +02:00

eeshow/misc.c: goes to gfx/, too

This commit is contained in:
Werner Almesberger 2016-08-17 21:31:56 -03:00
parent 9829f7070f
commit 766f1d64f3
7 changed files with 12 additions and 12 deletions

View File

@ -18,8 +18,8 @@ OBJS = main.o \
file/file.o file/git-util.o file/git-file.o file/git-hist.o \
delta.o \
gfx/style.o gfx/fig.o gfx/record.o gfx/cro.o gfx/diff.o gfx/gfx.o \
gfx/text.o \
misc.o diag.o
gfx/text.o gfx/misc.o \
diag.o
CFLAGS = -g -Wall -Wextra -Wno-unused-parameter -Wshadow \
-Wmissing-prototypes -Wmissing-declarations \

View File

@ -1,5 +1,5 @@
/*
* misc.c - Helper functions for geometry and attributes
* gfx/misc.c - Helper functions for geometry and attributes
*
* Written 2016 by Werner Almesberger
* Copyright 2016 Werner Almesberger
@ -17,7 +17,7 @@
#include <assert.h>
#include "diag.h"
#include "misc.h"
#include "gfx/misc.h"
static bool eq(const int m[6], int xx, int xy, int yx, int yy)

View File

@ -1,5 +1,5 @@
/*
* misc.h - Helper functions for geometry and attributes
* gfx/misc.h - Helper functions for geometry and attributes
*
* Written 2016 by Werner Almesberger
* Copyright 2016 Werner Almesberger
@ -11,8 +11,8 @@
*/
#ifndef MISC_H
#define MISC_H
#ifndef GFX_MISC_H
#define GFX_MISC_H
#include <stdbool.h>
@ -48,4 +48,4 @@ int angle_add(int a, int b);
int rx(int x, int y, int rot);
int ry(int x, int y, int rot);
#endif /* !MISC_H */
#endif /* !GFX_MISC_H */

View File

@ -17,7 +17,7 @@
#include <string.h>
#include "util.h"
#include "misc.h"
#include "gfx/misc.h"
#include "gfx/style.h"
#include "gfx/gfx.h"
#include "gfx/text.h"

View File

@ -18,7 +18,7 @@
#include <assert.h>
#include "util.h"
#include "misc.h"
#include "gfx/misc.h"
#include "gfx/style.h"
#include "gfx/text.h"
#include "gfx/gfx.h"

View File

@ -17,7 +17,7 @@
#include "util.h"
#include "diag.h"
#include "misc.h"
#include "gfx/misc.h"
#include "gfx/style.h"
#include "gfx/gfx.h"
#include "gfx/text.h"

View File

@ -15,7 +15,7 @@
#include <stdio.h>
#include <assert.h>
#include "misc.h"
#include "gfx/misc.h"
#include "gfx/style.h"
#include "gfx/gfx.h"
#include "kicad/dwg.h"