1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-13 16:22:44 +03:00

Cosmetic cleanups of Beos port

This commit is contained in:
Peter Eisentraut
2000-10-09 16:42:55 +00:00
parent 5c163daa27
commit c4ccc6146b
7 changed files with 252 additions and 241 deletions

View File

@@ -1,26 +1,18 @@
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/beos
#
#-------------------------------------------------------------------------
# $Header: /cvsroot/pgsql/src/backend/port/beos/Attic/Makefile,v 1.2 2000/10/09 16:42:54 petere Exp $
subdir = src/backend/port/beos
top_builddir = ../../../..
include ../../../Makefile.global
INCLUDE_OPT =
CFLAGS+=$(INCLUDE_OPT)
include $(top_builddir)/src/Makefile.global
OBJS = sem.o shm.o support.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
$(LD) $(LDREL) $(LDOUT) $@ $^
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
$(CC) -MM $(CFLAGS) $(CPPFLAGS) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
@@ -28,4 +20,3 @@ clean:
ifeq (depend,$(wildcard depend))
include depend
endif

View File

@@ -10,9 +10,9 @@
#include "postgres.h"
#include "stdio.h"
#include "errno.h"
#include "OS.h"
#include <stdio.h>
#include <errno.h>
#include <OS.h>
// Controle d'un pool de sémaphores
// On considere que le semId utilisé correspond bien a une area de notre adress space

View File

@@ -9,8 +9,8 @@
*/
#include "postgres.h"
#include "stdio.h"
#include "OS.h"
#include <stdio.h>
#include <OS.h>
// Detachement d'une zone de mémoire partagée
// On detruit le clone de l'area dans notre adress-space