aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/C-code/funcs.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-01 05:11:33 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-01 05:11:33 +0000
commit164ef6ff2b4f4c8ee203003193178d2e2cb2ff68 (patch)
tree2e19c85d259b72ca1247cd92673727af6f32a88a /src/tutorial/C-code/funcs.c
parent4d837e370c1ca887ecf90f167fb9ca15383bb979 (diff)
downloadpostgresql-164ef6ff2b4f4c8ee203003193178d2e2cb2ff68.tar.gz
postgresql-164ef6ff2b4f4c8ee203003193178d2e2cb2ff68.zip
Fixes:
Originally, I thought the problem was caused by a function that gets called as a normal function where we want to return a value, and as a signal handler where we need to have it accept a parameter (the signal number) and it returns nothing, I was going to case the function name in the signal call as (void (*)(int)). Looking at all the source, it turns out this function only gets used as a signal handler, so I set an int parameter and return void. I have removed the Linux defines because they are not needed. BSD let this sloppiness slide. Linux gave a compile error. Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
Diffstat (limited to 'src/tutorial/C-code/funcs.c')
0 files changed, 0 insertions, 0 deletions