1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-14 16:46:04 -05:00
Commit Graph

220 Commits

Author SHA1 Message Date
Linus Torvalds
8967dfc2c6 Fix ugly "definitions in header file" crud
Move various initializations into new "globals.c" file.

Also mark some variables static, and fix up some trivial compiler and
sparse warnings.
2005-10-01 00:33:44 -07:00
Linus Torvalds
12cb79ceb4 Avoid various name clashes with curses and termcap headers
This allows us to include the proper headers, instead of declaring
things (badly) by hand.
2005-10-01 00:22:55 -07:00
Linus Torvalds
d66d329986 Replace "WINDOW" type with "window_t"
Starting to try to avoid name clashes with curses and friends.
2005-10-01 00:02:32 -07:00
Linus Torvalds
d79d222a45 Fix up unused variable and ambiguous else in random.c 2005-09-30 23:54:34 -07:00
Linus Torvalds
8eab871e55 More warning avoidance and code cleanup 2005-09-30 23:52:55 -07:00
Linus Torvalds
d0ed902432 Fix up some trivial gcc -Wall warnings
Lots more to go.
2005-09-30 23:37:34 -07:00
Linus Torvalds
d5dc3160cf Lots of ANSI'fication and cleanups
Still tons of warnings with "-Wall", but now it's actually getting closer.

It even compiles again.
2005-09-30 22:52:45 -07:00
Linus Torvalds
92803fe8d5 Start using "-Wall" when compiling
Oh, and change the -O4 to a saner -O2 while at it
2005-09-30 18:06:45 -07:00
Linus Torvalds
e3ca2a12cf More ANSI'fication
Next up: enabling "-Wall" in the makefile. Not because it's ready,
but because it gets easier to track where we are in the process..
2005-09-30 18:06:17 -07:00
Linus Torvalds
de0961e007 Yet more ANSI'fication
Bored? Me? Why do you ask?
2005-09-30 17:52:20 -07:00
Linus Torvalds
2b3627510d Move "input.c" towards ANSI function declarations 2005-09-30 17:37:16 -07:00
Linus Torvalds
453f80d269 More ANSI-fication of the sources
Ugh.  Some of this is ugly.  We should really include <curses.h> etc,
but there are too many name clashes for that right now.
2005-09-30 17:08:36 -07:00
Linus Torvalds
021605246c More function declarations: region.c
Hey, "word.c" is now sparse-clean.
2005-09-30 16:37:36 -07:00
Linus Torvalds
9605cf8826 First cut at turning things into proper modern ANSI C
Hey! Real declarations!
2005-09-30 16:34:11 -07:00
Linus Torvalds
118ee5f944 Fix up headers and bogus re-definitions to use <stdlib.h> and <string.h>
Hey, it's already compiling cleaner. Getting proper function declarations
will be a bitch, though.
2005-09-30 15:33:51 -07:00
Linus Torvalds
b9deaf1bd8 Very optimistically add a "sparse" makefile target.
Since sparse really wants clean ANSI C, we're not even _remotely_ close
to being sparse-clean.  But maybe some day...
2005-09-30 15:28:37 -07:00
Linus Torvalds
435dd32ae2 Run "indent -kr -i8" on the sources
Let's see how nasty it is to clean things up. For real.
2005-09-30 15:26:09 -07:00
Linus Torvalds
1f6239bfeb Up the limit on maximum lines.
Hey, get with the bloated new world.
2005-05-31 08:59:49 -07:00
Linus Torvalds
77784cd46c Minimal patches to make uemacs compile in a modern environment.
make sure to include <errno.h>, and allow for the fact that newer
gcc's don't allow function declarations in function scope (don't
ask me why, but there you have it..)
2005-05-31 08:58:59 -07:00
Linus Torvalds
d7148b21fe Initial import of em-4.0.15-lt
This is a slightly updated version of uemacs-PK (PK is Pekka
Kutvonen) which was used at Helsinki University a long time
ago. My fingers cannot be retrained.
2005-05-31 08:50:56 -07:00